UNPKG

@alfresco/adf-core

Version:
23 lines (22 loc) 805 B
import { Observable } from 'rxjs'; import { TranslationService } from '../translation/translation.service'; import * as i0 from "@angular/core"; export interface LangChangeEvent { lang: string; translations: any; } /** @deprecated use `NoopTranslateModule` instead */ export declare class TranslationMock implements TranslationService { defaultLang: string; userLang: string; customLoader: any; translate: any; addTranslationFolder(): void; onTranslationChanged(): void; use(): any; loadTranslation(): void; get(key: string | Array<string>): Observable<string | any>; instant(key: string | Array<string>): string | any; static ɵfac: i0.ɵɵFactoryDeclaration<TranslationMock, never>; static ɵprov: i0.ɵɵInjectableDeclaration<TranslationMock>; }