import * as react_jsx_runtime from 'react/jsx-runtime'; import { I18NMessages } from './types.js'; import 'react-intl'; type I18nProviderProps = { children?: React.ReactNode; /** * if not provided, the locale from useSafeIntl will be used */ locale?: string; /** SSR: pass preloaded messages to avoid hydration flashes. */ defaultMessages?: Record; /** * Use this function to asynchronously load translated messages * from your package and feed them to our internal IntlProvider * This will enable translations in Product */ loaderFn?: (locale: string) => Promise; }; declare const I18nProvider: (props: I18nProviderProps) => react_jsx_runtime.JSX.Element; export { I18nProvider, type I18nProviderProps };