import { ReactNode } from 'react'; import { I18nStore, LocaleData } from './i18n'; type LocaleSeed = LocaleData | LocaleData[] | undefined; interface I18nProviderProps { localeData?: LocaleSeed; store?: I18nStore; children: ReactNode; } declare const I18nContext: import('react').Context; /** * Provides an isolated i18n store instance for the subtree. * * When no store is supplied, a fresh instance is created on mount. * Locale data can be seeded via the `localeData` prop and will be * registered synchronously to avoid hydration mismatches. */ export declare function I18nProvider({ localeData, store, children }: I18nProviderProps): import("react/jsx-runtime").JSX.Element; export declare function useI18n(): I18nStore; export { I18nContext };