export { I18nContext } from './i18n'; export { default as translate } from './hoc'; export * from './hooks'; export { default as tr } from './translate'; export declare type Translations = Record; export declare type ConvertMissingKey = (key: string, translations: Translations) => string; export declare type Preprocess = (key: string, translations: Translations) => string | boolean | undefined | null | void; export declare type Postprocess = (phrase: string) => string; export interface Transforms { [name: string]: (value: any) => string; } export interface TranslateProps = Translations, TG extends Translations = Translations> { t: TranslateLocal; g: TranslateType; getLocale(): L; } export interface TranslateType = Translations> { (key: keyof T & string, interpolation?: Interpolation): string; locale: L; has(key: string | number | symbol): key is keyof T; } export interface TranslateLocal = Translations, TG extends Translations = Translations> extends TranslateType { g: TranslateType; } export declare type Interpolation = { smart_count?: number; [key: string]: string | number | object | undefined; } | number;