1// generated by diplomat-tool 2import type { DataError } from "./DataError" 3import type { DataProvider } from "./DataProvider" 4import type { Locale } from "./Locale" 5import type { TransformResult } from "./TransformResult" 6import type { pointer, codepoint } from "./diplomat-runtime.d.ts"; 7 8 9/** A locale expander. 10* 11*See the [Rust documentation for `LocaleExpander`](https://docs.rs/icu/latest/icu/locale/struct.LocaleExpander.html) for more information. 12*/ 13 14 15export class LocaleExpander { 16 17 get ffiValue(): pointer; 18 19 static createCommonWithProvider(provider: DataProvider): LocaleExpander; 20 21 static createExtended(): LocaleExpander; 22 23 static createExtendedWithProvider(provider: DataProvider): LocaleExpander; 24 25 maximize(locale: Locale): TransformResult; 26 27 minimize(locale: Locale): TransformResult; 28 29 minimizeFavorScript(locale: Locale): TransformResult; 30 31 constructor(); 32}