///
import type { I18nError } from './errors';
export declare enum LanguageDirection {
Rtl = 0,
Ltr = 1
}
export interface I18nDetails {
locale: string;
country?: string;
currency?: string;
timezone?: string;
pseudolocalize?: boolean;
fallbackLocale?: string;
onError?(error: I18nError): void;
interpolate?: RegExp;
}
export interface TranslationDictionary {
[key: string]: string | TranslationDictionary;
}
export interface PrimitiveReplacementDictionary {
[key: string]: string | number;
}
export interface ComplexReplacementDictionary {
[key: string]: string | number | React.ReactNode;
}
export type MaybePromise = T | Promise;
export { CurrencyCode } from './currencyCode';
export type Replacements = PrimitiveReplacementDictionary | ComplexReplacementDictionary;
//# sourceMappingURL=types.d.ts.map