import { Injector } from '@angular/core'; import { EventEmitter } from '@angular/core'; import { Http } from '@angular/http'; import { TranslateService } from '@ngx-translate/core'; import { MomentService } from '../services'; import { Observable } from 'rxjs/Observable'; import { Subscriber } from 'rxjs/Subscriber'; export declare class OTranslateService { protected injector: Injector; static ASSETS_PATH: string; static ASSETS_EXTENSION: string; DEFAULT_LANG: string; onLanguageChanged: EventEmitter; protected ngxTranslateService: TranslateService; protected momentService: MomentService; protected http: Http; protected notFoundLang: Array; constructor(injector: Injector); protected checkExistingLangFile(lang: string): Promise; setDefaultLang(lang: string): void; get(text: string): string; setAppLang(lang: string): Observable; use(lang: string, observer?: Subscriber): void; protected propagateLang(lang: string, langRes?: any, observer?: Subscriber): void; getCurrentLang(): string; getBrowserLang(): string; }