1
|
import { AngularCompilerOptions } from '@angular/tsc-wrapped';
|
2
|
import * as ts from 'typescript';
|
3
|
export interface NgTools_InternalApi_NG2_CodeGen_Options {
|
4
|
basePath: string;
|
5
|
compilerOptions: ts.CompilerOptions;
|
6
|
program: ts.Program;
|
7
|
host: ts.CompilerHost;
|
8
|
angularCompilerOptions: AngularCompilerOptions;
|
9
|
i18nFormat?: string;
|
10
|
i18nFile?: string;
|
11
|
locale?: string;
|
12
|
missingTranslation?: string;
|
13
|
readResource: (fileName: string) => Promise<string>;
|
14
|
}
|
15
|
export interface NgTools_InternalApi_NG2_ListLazyRoutes_Options {
|
16
|
program: ts.Program;
|
17
|
host: ts.CompilerHost;
|
18
|
angularCompilerOptions: AngularCompilerOptions;
|
19
|
entryModule: string;
|
20
|
}
|
21
|
export interface NgTools_InternalApi_NG_2_LazyRouteMap {
|
22
|
[route: string]: string;
|
23
|
}
|
24
|
export interface NgTools_InternalApi_NG2_ExtractI18n_Options {
|
25
|
basePath: string;
|
26
|
compilerOptions: ts.CompilerOptions;
|
27
|
program: ts.Program;
|
28
|
host: ts.CompilerHost;
|
29
|
angularCompilerOptions: AngularCompilerOptions;
|
30
|
i18nFormat?: string;
|
31
|
readResource: (fileName: string) => Promise<string>;
|
32
|
locale?: string;
|
33
|
outFile?: string;
|
34
|
}
|
35
|
/**
|
36
|
* @internal
|
37
|
* @private
|
38
|
*/
|
39
|
export declare class NgTools_InternalApi_NG_2 {
|
40
|
/**
|
41
|
* @internal
|
42
|
* @private
|
43
|
*/
|
44
|
static codeGen(options: NgTools_InternalApi_NG2_CodeGen_Options): Promise<any>;
|
45
|
/**
|
46
|
* @internal
|
47
|
* @private
|
48
|
*/
|
49
|
static listLazyRoutes(options: NgTools_InternalApi_NG2_ListLazyRoutes_Options): NgTools_InternalApi_NG_2_LazyRouteMap;
|
50
|
/**
|
51
|
* @internal
|
52
|
* @private
|
53
|
*/
|
54
|
static extractI18n(options: NgTools_InternalApi_NG2_ExtractI18n_Options): Promise<any>;
|
55
|
}
|