/** * Resolve the best-matching supported locale from a requested language tag * (or the browser's `navigator.language`). Ported from the byte-identical * `getLocale()` the three apps each carried; the supported-locale list and * default are injected so each app keeps ownership of its locale matrix. */ export interface LocaleOption { value: string; label?: string; } export interface GetLocaleOptions { supportedLocales: readonly LocaleOption[]; defaultLocale: string; } export declare function matchSupportedLocale(lang: string | null | undefined, supportedLocales: readonly LocaleOption[]): string | undefined; export declare function makeGetLocale(options: GetLocaleOptions): (lang?: string) => string; //# sourceMappingURL=locale.d.ts.map