import localMap from '../locales'; export declare const OK_LOCALE_CACHE_KEY = "_onekey_locale_"; export declare type LocaleSymbol = keyof typeof localMap; export declare type TranslationMap = Record>; export declare const localeSymbols: ("zh-CN" | "en-US" | "de" | "es-AR" | "es-US" | "he" | "it-IT" | "ro" | "ru" | "vi-VN" | "zh-TW")[]; /** * isomorphic get user current locale * * @param {locale} optional a local string * @returns LocaleSymbol, one of 'zh-CN' | 'en-US' */ export declare const getLocaleSymbol: (locale?: string) => LocaleSymbol; export declare const getNumberFromPxString: (size: string) => number; export declare const isMobile: () => boolean; export declare const shortenAddress: (address: any, chars?: number) => string; export declare const stringToHex: (str?: string) => string; export declare const CDN_PREFIX = "https://onekey-asset.com/"; export declare const IS_BROWSER: boolean;