/** * Supported UI/API locales. * Tier-1: zh-HK (香港書面語), zh-CN, en — quality bar. * Tier-2: world languages (+ ja, ko); full catalogs, key-parity with en. */ export type LocaleCode = 'zh-HK' | 'zh-CN' | 'en' | 'ja' | 'ko' | 'hi' | 'es' | 'ar' | 'fr' | 'bn' | 'pt' | 'id' | 'ur'; export declare const LOCALES: readonly LocaleCode[]; export declare const DEFAULT_LOCALE: LocaleCode; /** Locales that require RTL document direction */ export declare const RTL_LOCALES: readonly LocaleCode[]; /** Display names (in that language where possible) */ export declare const LOCALE_LABELS: Record; /** * Normalize Accept-Language / stored user locale to a supported code. * zh-TW and bare zh → zh-HK (香港書面語). */ export declare function normalizeLocale(input?: string | null): LocaleCode; export declare function isRtlLocale(input?: string | null): boolean; /** Parse Accept-Language header (first matching supported tag). */ export declare function localeFromAcceptLanguage(header?: string | null): LocaleCode; //# sourceMappingURL=normalize-locale.d.ts.map