import { default as React } from 'react'; import { TranslationDictionary, PartialTranslationDictionary } from './types'; export type TFunction = (key: string, params?: Record) => string; interface TranslationContextValue { t: TFunction; locale: string; dictionary: TranslationDictionary; } interface TranslationProviderProps { locale: string; fetchTranslations?: (locale: string) => Promise; children: React.ReactNode; } export declare const TranslationProvider: React.FC; export declare function useTranslation(): TranslationContextValue; export {}; //# sourceMappingURL=TranslationContext.d.ts.map