import { LangType } from '../theme/theme'; export declare let currentLang: LangType; export declare let langSet: Record; export declare function loadLanguage(lang: LangType): Promise; export declare function changeLanguage(lang: LangType): Promise; export declare function onLanguageChange(callback: () => void): () => void; export declare const isEn: () => boolean; export declare const isZH: () => boolean; /** * * @param key * @param args */ export declare function i18n(key: string, ...args: any[]): any;