1 | import * as ts from 'typescript';
|
2 | import { CliOptions } from './cli_options';
|
3 | import NgOptions from './options';
|
4 | import { VinylFile } from './vinyl_file';
|
5 | export { UserError } from './tsc';
|
6 | export interface CodegenExtension {
|
7 | |
8 |
|
9 |
|
10 | (ngOptions: NgOptions, cliOptions: CliOptions, program: ts.Program, host: ts.CompilerHost): Promise<string[]>;
|
11 | }
|
12 | export declare function createBundleIndexHost(ngOptions: NgOptions, rootFiles: string[], host: ts.CompilerHost): {
|
13 | host: ts.CompilerHost;
|
14 | indexName?: string;
|
15 | errors?: ts.Diagnostic[];
|
16 | };
|
17 | export declare function main(project: string | VinylFile, cliOptions: CliOptions, codegen?: CodegenExtension, options?: ts.CompilerOptions): Promise<any>;
|