import * as i0 from '@angular/core'; import { InjectionToken, Signal, PipeTransform } from '@angular/core'; declare enum ThyI18nLocale { zhCn = "zh-cn", zhTw = "zn-tw", enUs = "en-us", deDe = "de-de", jaJp = "ja-jp", ruRu = "ru-ru" } interface ThyI18nTranslation { inProgress: string; completed: string; count: string; forbidDropInEntry: string; expandedAll: string; foldUpAll: string; lane: string; wipLimitStatistics: string; countStatistics: string; foldUp: string; expand: string; emptyGroup: string; getSMSCode: string; sended: string; imageErrorMessage: string; upload: string; reupload: string; preview: string; cancel: string; ok: string; uploading: string; image: string; uploadTips: string; notify: string; help: string; setting: string; secondaryTitle: string; speed: string; audioFormatError: string; networkError: string; videoFormatError: string; } interface ThyI18nLocaleConfig { id: ThyI18nLocale; translations: ThyI18nTranslation; } declare const THY_I18N_DEFAULT_LOCALE_TOKEN: InjectionToken; declare class ThyI18nService { private locales; private defaultLocale; private locale; private normalizeLocale; private getDefaultLocaleId; /** * 设置语言 * @param id */ setLocale(id: string): void; /** * 获取当前语言 */ getLocale(): Signal; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare function injectLocale(): Signal; declare class ThyI18nPipe implements PipeTransform { templateMatcher: RegExp; transform(expr: string, params?: Record): any; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class ThyProI18nModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare const deDeLocale: ThyI18nLocaleConfig; declare const enUsLocale: ThyI18nLocaleConfig; declare const jaJpLocale: ThyI18nLocaleConfig; declare const ruRuLocale: ThyI18nLocaleConfig; declare const zhCnLocale: ThyI18nLocaleConfig; declare const zhTwLocale: ThyI18nLocaleConfig; export { THY_I18N_DEFAULT_LOCALE_TOKEN, ThyI18nLocale, ThyI18nPipe, ThyI18nService, ThyProI18nModule, deDeLocale, enUsLocale, injectLocale, jaJpLocale, ruRuLocale, zhCnLocale, zhTwLocale }; export type { ThyI18nLocaleConfig, ThyI18nTranslation }; //# sourceMappingURL=tethys-pro-i18n.d.ts.map