import { default as i18n } from 'i18next'; type DefaultKey = { [key: string]: any; }; type Translations = { en: DefaultKey; pt: DefaultKey; es: DefaultKey; }; export declare const defaultNS = "globals"; export declare let resources: Translations; type LanguageResources = typeof resources; type Language = keyof LanguageResources; type ComponentName = keyof LanguageResources[Language]; type ComponentTranslations = { [L in Language]: Translations[L]; }; type AllComponentsTranslations = { [C in ComponentName]: ComponentTranslations; }; export declare const setAllComponentsTranslations: (allComponentsTranslations: AllComponentsTranslations[]) => void; export declare const setComponentTranslations: (componentName: ComponentName, translations?: Translations) => void; export default i18n;