import { type Dictionary, type LocaleText } from './dict.js'; export declare const FALLBACK = "en"; export declare function localeOf(raw: string | undefined | null): string; export declare function fromRecord(entry: LocaleText | undefined, locale: string): string | undefined; export declare function translate(key: string, locale: string, dictionary?: Dictionary, vars?: Readonly>): string; export interface Translator { readonly locale: string; t(key: string, vars?: Readonly>): string; pick(entry: LocaleText | undefined, fallbackKey: string): string; } export declare function makeTranslator(rawLocale?: string, extra?: Dictionary): Translator; //# sourceMappingURL=translate.d.ts.map