import { type LocaleCode } from './normalize-locale.js'; export type Dict = { [key: string]: string | Dict; }; export declare function loadLocaleDict(locale: LocaleCode): Dict; /** Clear cache (tests). */ export declare function clearLocaleCache(): void; /** * Translate a dotted key for a locale. * Missing key → fallback locale → key itself (honest, visible in dev). */ export declare function t(locale: string | null | undefined, key: string, params?: Record): string; /** Deep-merge namespace objects (for building translation bundles). */ export declare function mergeDicts(...dicts: Dict[]): Dict; //# sourceMappingURL=t.d.ts.map