import { Resource } from 'i18next' import { T } from '.' export interface i18 { localesLocation?: { [namespace: string]: string } defaultNamespace?: string } export declare class Localizer { readonly localize: import('i18next').i18n main(construct?: i18): Promise createResources(construct?: i18['localesLocation']): Promise t: (input: string, options?: T | undefined) => string exists: import('i18next').ExistsFunction getFixedT: { ( lng: string | string[], ns?: string | string[] | undefined ): import('i18next').TFunction (lng: null, ns: string | string[]): import('i18next').TFunction } changeLanguage: ( lng: string, callback?: import('i18next').Callback | undefined ) => Promise language: string languages: string[] loadNamespaces: ( ns: string | string[], callback?: import('i18next').Callback | undefined ) => Promise loadlanguages: ( lngs: string | string[], callback?: import('i18next').Callback | undefined ) => Promise reloadResources: { ( lngs?: string | string[] | undefined, ns?: string | string[] | undefined, callback?: (() => void) | undefined ): Promise ( lngs: null, ns: string | string[], callback?: (() => void) | undefined ): Promise } setDefaultNamespace: (ns: string) => void dir: (lng?: string | undefined) => 'ltr' | 'rtl' format: import('i18next').FormatFunction }