UNPKG

react-native-localize

Version:

A toolbox for your React Native app localization.

55 lines (54 loc) 2.01 kB
export declare const getCalendar: jest.Mock<string, [], any>; export declare const getCountry: jest.Mock<string, [], any>; export declare const getCurrencies: jest.Mock<string[], [], any>; export declare const getLocales: jest.Mock<{ countryCode: string; languageTag: string; languageCode: string; isRTL: boolean; }[], [], any>; export declare const getNumberFormatSettings: jest.Mock<{ decimalSeparator: string; groupingSeparator: string; }, [], any>; export declare const getTemperatureUnit: jest.Mock<string, [], any>; export declare const getTimeZone: jest.Mock<string, [], any>; export declare const uses24HourClock: jest.Mock<boolean, [], any>; export declare const usesMetricSystem: jest.Mock<boolean, [], any>; export declare const usesAutoDateAndTime: jest.Mock<boolean, [], any>; export declare const usesAutoTimeZone: jest.Mock<boolean, [], any>; export declare const findBestLanguageTag: jest.Mock<{ languageTag: string; isRTL: boolean; }, [], any>; export declare const openAppLanguageSettings: jest.Mock<Promise<void>, [], any>; export declare const ServerLanguagesProvider: ({ children, }: { children: import("react").ReactNode; value: string[]; }) => import("react").ReactNode; export declare const useLocalize: jest.Mock<{ getCalendar: () => string; getCountry: () => string; getCurrencies: () => string[]; getLocales: () => { countryCode: string; languageTag: string; languageCode: string; isRTL: boolean; }[]; getNumberFormatSettings: () => { decimalSeparator: string; groupingSeparator: string; }; getTemperatureUnit: () => string; getTimeZone: () => string; uses24HourClock: () => boolean; usesMetricSystem: () => boolean; usesAutoDateAndTime: () => boolean; usesAutoTimeZone: () => boolean; findBestLanguageTag: () => { languageTag: string; isRTL: boolean; }; openAppLanguageSettings: () => Promise<void>; }, [], any>;