export type Scope = string; export type TranslateOptions = Record; type TranslationTree = Record; type MissingTranslationHandler = (i18n: I18n, scope: Scope, options?: TranslateOptions) => string | null | undefined; export interface I18nOptions { defaultLocale?: string; locale?: string; } export declare class I18n { translations: TranslationTree; version: number; locale: string; defaultLocale: string; missingBehavior?: string; private missingTranslationHandlers; missingTranslation: { register: (behavior: string, handler: MissingTranslationHandler) => void; }; constructor(translations?: TranslationTree, options?: I18nOptions); store(dataset?: TranslationTree): TranslationTree; t(scope: Scope, options?: TranslateOptions): string; private lookup; private lookupByLocale; private handleMissing; } export {};