/** * A BCP 47 tag that `Intl` accepts for a UI language. Hosts may report * `it_IT` or `it_IT.UTF-8`, which `Intl` rejects with a RangeError; such a * tag is read as its BCP 47 form. One that is still unusable falls back to * `fallback` (the active UI language, say), then English, rather than * breaking the render. */ export declare function canonicalLocale(language: string, fallback?: string): string; /** * The tag to hand `Intl.NumberFormat` for a UI language. It is the * language itself unless the engine has no number data for it and the kit * knows a donor with the same pattern. Every other tag passes through * unchanged, so the caller keeps its own error handling. */ export declare function numberLocale(language: string): string; /** The kit's formatting tag: base English is British and base Portuguese * European, matching the date-fns locales the kit loads. */ export declare function formatLocale(language: string): string; //# sourceMappingURL=intl-locale.d.ts.map