import { I18nWord } from "../model/i18n-word"; import { HttpClient } from "@angular/common/http"; import { Observable } from "rxjs/Observable"; /** * @author Abish Kudaibergenov */ export declare class I18nService { private httpClient; private _currentLang; private dictionary; constructor(httpClient: HttpClient); readonly currentLang: string; use(lang: string): void; translateWord(key: string): string; getUserLang(): string; translateWords(textEn: string, textRu: string, textKz: string): string; fillDictionary(wordList: I18nWord[]): void; getI18nWordList(): Observable; loadI18n(): void; getI18ApiUrl(): string; handleError(error: any): Observable; }