import { GlobalTranslations, IConfigService, IConfiguration, ILanguageService, IPromiseService, ITranslation, ITranslations } from "../common-types"; import { EventsService } from "./events.service"; import { StorageService } from "./storage.service"; import { UniversalService } from "./universal.service"; import { BaseHttpClient } from "./base-http.client"; import { HttpClient } from "@angular/common/http"; import * as i0 from "@angular/core"; export declare const EMPTY_DICT: ITranslations; export declare class StaticLanguageService implements ILanguageService { readonly events: EventsService; readonly storage: StorageService; readonly configs: IConfigService; protected promises: IPromiseService; protected client: BaseHttpClient; get defaultLanguage(): string; get dictionary(): ITranslations; set dictionary(value: ITranslations); get languages(): ReadonlyArray; get currentLanguage(): string; set currentLanguage(lang: string); get editLanguage(): string; set editLanguage(lang: string); get enableTranslations(): boolean; set enableTranslations(value: boolean); get disableTranslations(): boolean; set disableTranslations(value: boolean); get httpClient(): HttpClient; get config(): IConfiguration; get universal(): UniversalService; protected editLang: string; protected currentLang: string; protected enableTrans: boolean; protected languageList: string[]; protected readonly translations: GlobalTranslations; protected overrideTranslations: GlobalTranslations; protected mergedTranslations: GlobalTranslations; constructor(events: EventsService, storage: StorageService, configs: IConfigService, promises: IPromiseService, client: BaseHttpClient); protected initService(): void; replaceLanguages(languages: string[]): void; addLanguages(languages: string[]): void; setOverrideTranslations(translations: GlobalTranslations): void; getTranslationSync(key: string, params?: Object): string; getTranslation(key: string, params?: any): Promise; getTranslations(...keys: string[]): Promise; getTranslationFromObject(translations: ITranslations, params?: any, lang?: string): string; getTranslationFromArray(translations: ITranslation[], params?: any, lang?: string): string; protected loadDictionary(): Promise; protected setDictionary(lang: string, dictionary: ITranslations): ITranslations; protected interpolate(expr: string | Function, params?: Object): string; protected interpolateString(expr: string, params?: Object): string; protected getDefaultLanguage(): string; protected mergeTranslations(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }