1 | import { ModuleWithProviders, Provider, EnvironmentProviders } 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 * from "./lib/extraction-marker";
|
14 | export * from "./lib/util";
|
15 | export interface TranslateModuleConfig {
|
16 | loader?: Provider;
|
17 | compiler?: Provider;
|
18 | parser?: Provider;
|
19 | missingTranslationHandler?: Provider;
|
20 | isolate?: boolean;
|
21 | extend?: boolean;
|
22 | useDefaultLang?: boolean;
|
23 | defaultLanguage?: string;
|
24 | }
|
25 | export declare const provideTranslateService: (config?: TranslateModuleConfig) => EnvironmentProviders;
|
26 | export declare class TranslateModule {
|
27 | |
28 |
|
29 |
|
30 | static forRoot(config?: TranslateModuleConfig): ModuleWithProviders<TranslateModule>;
|
31 | |
32 |
|
33 |
|
34 | static forChild(config?: TranslateModuleConfig): ModuleWithProviders<TranslateModule>;
|
35 | static ɵfac: i0.ɵɵFactoryDeclaration<TranslateModule, never>;
|
36 | static ɵmod: i0.ɵɵNgModuleDeclaration<TranslateModule, never, [typeof i1.TranslatePipe, typeof i2.TranslateDirective], [typeof i1.TranslatePipe, typeof i2.TranslateDirective]>;
|
37 | static ɵinj: i0.ɵɵInjectorDeclaration<TranslateModule>;
|
38 | }
|