@alfresco/adf-core
Version:
25 lines (24 loc) • 1.07 kB
TypeScript
import { TranslationService } from '../translation/translation.service';
import { Observable } from 'rxjs';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common/http/testing";
export declare class NoopTranslationService 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>;
getLocale(): any;
instant(key: string | Array<string>): string | any;
static ɵfac: i0.ɵɵFactoryDeclaration<NoopTranslationService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<NoopTranslationService>;
}
export declare class NoopTranslateModule {
static ɵfac: i0.ɵɵFactoryDeclaration<NoopTranslateModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<NoopTranslateModule, never, [typeof i1.HttpClientTestingModule], never>;
static ɵinj: i0.ɵɵInjectorDeclaration<NoopTranslateModule>;
}