summaryrefslogtreecommitdiffstats
path: root/intl/icu_capi/js/package/lib/ICU4XPluralOperands.d.ts
blob: a521100d17a8ad41f2e5a45e611ce4e90a083262 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import { FFIError } from "./diplomat-runtime"
import { ICU4XError } from "./ICU4XError";

/**

 * FFI version of `PluralOperands`.

 * See the {@link https://docs.rs/icu/latest/icu/plurals/struct.PluralOperands.html Rust documentation for `PluralOperands`} for more information.
 */
export class ICU4XPluralOperands {

  /**

   * Construct for a given string representing a number

   * See the {@link https://docs.rs/icu/latest/icu/plurals/struct.PluralOperands.html#method.from_str Rust documentation for `from_str`} for more information.
   * @throws {@link FFIError}<{@link ICU4XError}>
   */
  static create_from_string(s: string): ICU4XPluralOperands | never;
}