import type { ChatLabels } from '../i18n'; /** * Single source of truth for which locales ship a built-in UI translation. Adding a language: * 1. add its code here * 2. create src/locales/.ts exporting `Partial`, add it to `translations` * below (a missing entry is a compile error, since the record is typed over this tuple) * 3. add its `dayjs/locale/` import and an entry to the exhaustiveness map in * dayjsLocales.ts (also a compile error if skipped) */ export declare const SUPPORTED_LOCALES: readonly ["es", "fr", "de", "ru", "zh", "ar", "pt", "ja", "ko", "it", "tr", "hi", "nl", "pl", "id"]; export type SupportedLocale = typeof SUPPORTED_LOCALES[number]; export declare const translations: Record>; /** * Map a BCP-47 tag (e.g. "pt-BR", "fr", "FR-ca") to one of our bundled locales, if any. * Shared by `resolveLabels` and available to anything else that needs the same * tag -> bundled-locale matching (e.g. picking a dayjs locale from the same set). */ export declare function matchSupportedLocale(locale: string | undefined): SupportedLocale | undefined; //# sourceMappingURL=index.d.ts.map