import React, { PureComponent } from 'react'; import { I18nStore, I18nStoreState } from './store'; import { TranslateDataWithJSX, TranslateFunc, TranslateJsxFunc, TranslatePluralFunc, TranslatePluralJsxFunc, TranslationOptions, Translations } from './types'; interface I18nProviderProps { store: I18nStore; options?: TranslationOptions; children: React.ReactNode; } interface I18nProviderState { storeState: I18nStoreState; } declare class I18nProvider extends PureComponent { private _isMounted; private unsubscribe?; static defaultProps: Partial; constructor(props: I18nProviderProps); componentDidMount(): void; componentWillUnmount(): void; componentDidUpdate(prevProps: I18nProviderProps): void; subscribe: () => void; setTranslations: (translations: Translations) => void; setLocale: (locale: string) => void; t: TranslateFunc; tx: TranslateJsxFunc; tn: TranslatePluralFunc; tnx: TranslatePluralJsxFunc; genData: (data: TranslateDataWithJSX, count?: number) => { n: number; } | { [x: string]: (string | number | boolean) | ((children: React.ReactNode, attributes?: string) => React.ReactNode); }; render(): React.JSX.Element; } export { I18nProvider }; //# sourceMappingURL=provider.d.ts.map