export type GenerateI18nKey = { [Key in keyof Obj]: Key extends string ? Obj[Key] extends Record ? Key | `${Key}.${GenerateI18nKey}` : Key : never; }[keyof Obj]; export declare const useI18n: () => (text: GenerateI18nKey, options?: any) => string; export declare const addResourceBundle: (lang: string, resourceBundle: any, namespace?: string) => Promise; export declare const changeLanguage: (lang: string) => Promise; export declare const getLanguage: () => string; export declare const transI18n: (text: GenerateI18nKey, options?: any) => string; export declare const getI18n: () => import("i18next").i18n;