| // generated by diplomat-tool |
| import type { DataError } from "./DataError" |
| import type { DataProvider } from "./DataProvider" |
| import type { Locale } from "./Locale" |
| import type { TransformResult } from "./TransformResult" |
| import type { pointer, codepoint } from "./diplomat-runtime.d.ts"; |
| |
| |
| /** A locale expander. |
| * |
| *See the [Rust documentation for `LocaleExpander`](https://docs.rs/icu/latest/icu/locale/struct.LocaleExpander.html) for more information. |
| */ |
| |
| |
| export class LocaleExpander { |
| |
| get ffiValue(): pointer; |
| |
| static createCommonWithProvider(provider: DataProvider): LocaleExpander; |
| |
| static createExtended(): LocaleExpander; |
| |
| static createExtendedWithProvider(provider: DataProvider): LocaleExpander; |
| |
| maximize(locale: Locale): TransformResult; |
| |
| minimize(locale: Locale): TransformResult; |
| |
| minimizeFavorScript(locale: Locale): TransformResult; |
| |
| constructor(); |
| } |