import { TranslationsGetter } from './translationsGetter'; import { type ForgeSupportedLocaleCode } from './types'; export declare class Translator { private locale; private translationsGetter; private localeLookupOrderedTranslations; private cache; constructor(locale: ForgeSupportedLocaleCode, translationsGetter: TranslationsGetter); init(): Promise; translate(i18nKey: string): string | null; } //# sourceMappingURL=translator.d.ts.map