type Translations = { [key: string]: string; }; export declare class Translator { private translations; private currentLocale; constructor(defaultLocale?: string); addTranslations(locale: string, translations: Translations): void; translate(key: string): string; setLocale(locale: string): void; } export {};