/** Locales supported by server-side message bundles (extend when adding JSON). */
export declare const SERVER_LOCALES: readonly ["en", "zh"];
export type ServerLocale = (typeof SERVER_LOCALES)[number];
export declare const DEFAULT_SERVER_LOCALE: ServerLocale;
export declare function isServerLocale(v: string): v is ServerLocale;
/** Map `zh-CN`, `EN`, etc. to a supported locale, or `undefined`. */
export declare function normalizeServerLocale(v: unknown): ServerLocale | undefined;
/** Unknown or missing → `DEFAULT_SERVER_LOCALE`. */
export declare function serverLocaleOrFallback(locale: ServerLocale | string | undefined | null): ServerLocale;
