Debian Codegraph @

intl/icu_capi/bindings/js/ICU4XDataStruct.d.ts

raw
1 import { u8 } from "./diplomat-runtime"
2 import { FFIError } from "./diplomat-runtime"
3 import { ICU4XError } from "./ICU4XError";
4
5 /**
6
7 * A generic data struct to be used by ICU4X
8
9 * This can be used to construct a StructDataProvider.
10 */
11 export class ICU4XDataStruct {
12
13 /**
14
15 * Construct a new DecimalSymbolsV1 data struct.
16
17 * Ill-formed input is treated as if errors had been replaced with REPLACEMENT CHARACTERs according to the WHATWG Encoding Standard.
18
19 * See the {@link https://docs.rs/icu/latest/icu/decimal/provider/struct.DecimalSymbolsV1.html Rust documentation for `DecimalSymbolsV1`} for more information.
20 * @throws {@link FFIError}<{@link ICU4XError}>
21 */
22 static create_decimal_symbols_v1(plus_sign_prefix: string, plus_sign_suffix: string, minus_sign_prefix: string, minus_sign_suffix: string, decimal_separator: string, grouping_separator: string, primary_group_size: u8, secondary_group_size: u8, min_group_size: u8, digits: Uint32Array): ICU4XDataStruct | never;
23 }