export { Trans } from 'react-i18next'; import * as react_jsx_runtime from 'react/jsx-runtime'; import { ReactNode } from 'react'; import * as i18next from 'i18next'; import { InitOptions } from 'i18next'; export { default as i18n } from 'i18next'; type ThI18nProviderProps = { children: ReactNode; } & Partial; declare const ThI18nProvider: ({ children, ...options }: ThI18nProviderProps) => react_jsx_runtime.JSX.Element | null; declare const DEFAULT_CONFIG: InitOptions; declare const initI18n: (options?: Partial) => Promise>; /** * Hook to access the i18n instance and translation functions * @param ns Optional additional namespace(s) to include alongside the default namespaces * @returns Translation functions and i18n instance */ declare const useI18n: (ns?: string | string[]) => { t: (key: string, options?: any) => string; i18n: i18next.i18n; ready: boolean; currentLanguage: string; languages: readonly string[]; changeLanguage: (lng: string) => Promise>; }; export { DEFAULT_CONFIG, ThI18nProvider, initI18n, useI18n };