import React from 'react'; import { Configs } from '../Configs'; import { IntlMessages } from '../contexts'; /** * Props of the `IntlProvider` component. */ export interface IntlProviderProps { children: React.ReactNode; } export interface IntlProviderState { readonly direction: Configs['direction']; readonly rtl: boolean; readonly locale: string; readonly loading: boolean; readonly messages: IntlMessages; readonly error?: any; } /** * 🈯️ IntlProvider */ export declare const IntlProvider: { (props: IntlProviderProps): React.JSX.Element; displayName: string; };