import type { GlobalStrings, LocalizedStrings as LocalizedStringsInstance, LocalizedStringsMethods } from 'react-localization'; /** * Options accepted by `LocalizedStrings`, excluding the language provider which * is always supplied by this library. */ export interface LocalizedStringsOptions { /** * Enable or disable the warnings emitted by the underlying library. * Defaults to `true`. */ logsEnabled?: boolean; /** * Expand every string to a pseudo-localized value. Useful to spot * untranslated strings during development. */ pseudo?: boolean; /** * When `pseudo` is enabled, expands the pseudo strings to be longer than the * original ones. */ pseudoMultipleLanguages?: boolean; } /** * Return the interface language reported by the native module, normalized to * the `en-US` form expected by `react-localization`. * * Falls back to `en` when the native module is not available so that the * library keeps working with the default language instead of throwing. */ export declare function getInterfaceLanguage(): string; /** * Public constructor type, mirroring the `react-localization` factory while * injecting the native interface language provider. */ interface LocalizedStringsConstructor { new (props: GlobalStrings, options?: LocalizedStringsOptions): LocalizedStringsInstance; } declare const LocalizedStrings: LocalizedStringsConstructor; export type { GlobalStrings, LocalizedStringsInstance as LocalizedStrings, LocalizedStringsMethods, }; export default LocalizedStrings; //# sourceMappingURL=index.d.ts.map