1 | import { ModuleWithProviders, Provider } from "@angular/core";
|
2 | import * as i0 from "@angular/core";
|
3 | import * as i1 from "./lib/translate.pipe";
|
4 | import * as i2 from "./lib/translate.directive";
|
5 | export * from "./lib/translate.loader";
|
6 | export * from "./lib/translate.service";
|
7 | export * from "./lib/missing-translation-handler";
|
8 | export * from "./lib/translate.parser";
|
9 | export * from "./lib/translate.compiler";
|
10 | export * from "./lib/translate.directive";
|
11 | export * from "./lib/translate.pipe";
|
12 | export * from "./lib/translate.store";
|
13 | export interface TranslateModuleConfig {
|
14 | loader?: Provider;
|
15 | compiler?: Provider;
|
16 | parser?: Provider;
|
17 | missingTranslationHandler?: Provider;
|
18 | isolate?: boolean;
|
19 | extend?: boolean;
|
20 | useDefaultLang?: boolean;
|
21 | defaultLanguage?: string;
|
22 | }
|
23 | export declare class TranslateModule {
|
24 | |
25 |
|
26 |
|
27 | static forRoot(config?: TranslateModuleConfig): ModuleWithProviders<TranslateModule>;
|
28 | |
29 |
|
30 |
|
31 | static forChild(config?: TranslateModuleConfig): ModuleWithProviders<TranslateModule>;
|
32 | static ɵfac: i0.ɵɵFactoryDeclaration<TranslateModule, never>;
|
33 | static ɵmod: i0.ɵɵNgModuleDeclaration<TranslateModule, [typeof i1.TranslatePipe, typeof i2.TranslateDirective], never, [typeof i1.TranslatePipe, typeof i2.TranslateDirective]>;
|
34 | static ɵinj: i0.ɵɵInjectorDeclaration<TranslateModule>;
|
35 | }
|