/** * Languages that have been fully released and are safe to surface to users. * Any locale whose language tag is not in this list will fall back to "en". * * To release a new language, add its BCP 47 language tag here (e.g. "es"). */ export declare const RELEASED_LANGUAGES: readonly string[]; /** * Returns the locale to use based on what has been released. Matches on the * language part of the locale (before the "-") so that regional variants like * "en-ca" or "es-us" resolve correctly: * * - "en-ca" → "en-ca" (language "en" is released; full locale preserved) * - "es-us" → "es-us" (language "es" is released; full locale preserved) * - "fr" → "en" (language "fr" not released; falls back to "en") * * Note: expects a normalized locale (lower-case, hyphens not underscores). */ export declare function getReleasedLocale(locale: string): string;