import { ReactNode } from 'react'; import { T as Translations, L as LocaleItem } from './i18n-Db2HAPOu.js'; interface I18nProviderProps { /** * Current locale */ locale: string; /** * Translations of current locale */ translations?: Partial; /** * Available languages */ locales?: LocaleItem[]; /** * Handle changes to the locale, redirect user when not specified. */ onChange?: (v: string) => void; children: ReactNode; } declare function I18nProvider({ locales, locale, ...props }: I18nProviderProps): React.ReactElement; export { I18nProvider, Translations };