1
|
/**
|
2
|
* @license
|
3
|
* Copyright Google Inc. All Rights Reserved.
|
4
|
*
|
5
|
* Use of this source code is governed by an MIT-style license that can be
|
6
|
* found in the LICENSE file at https://angular.io/license
|
7
|
*/
|
8
|
import { CompileDirectiveMetadata, CompileNgModuleMetadata, CompilePipeMetadata, CompileTypeMetadata, CompileTypeSummary } from '../compile_metadata';
|
9
|
import { Summary, SummaryResolver } from '../summary_resolver';
|
10
|
import { OutputContext } from '../util';
|
11
|
import { StaticSymbol, StaticSymbolCache } from './static_symbol';
|
12
|
import { ResolvedStaticSymbol, StaticSymbolResolver } from './static_symbol_resolver';
|
13
|
export declare function serializeSummaries(forJitCtx: OutputContext, summaryResolver: SummaryResolver<StaticSymbol>, symbolResolver: StaticSymbolResolver, symbols: ResolvedStaticSymbol[], types: {
|
14
|
summary: CompileTypeSummary;
|
15
|
metadata: CompileNgModuleMetadata | CompileDirectiveMetadata | CompilePipeMetadata | CompileTypeMetadata;
|
16
|
}[]): {
|
17
|
json: string;
|
18
|
exportAs: {
|
19
|
symbol: StaticSymbol;
|
20
|
exportAs: string;
|
21
|
}[];
|
22
|
};
|
23
|
export declare function deserializeSummaries(symbolCache: StaticSymbolCache, json: string): {
|
24
|
summaries: Summary<StaticSymbol>[];
|
25
|
importAs: {
|
26
|
symbol: StaticSymbol;
|
27
|
importAs: string;
|
28
|
}[];
|
29
|
};
|
30
|
export declare function createForJitStub(outputCtx: OutputContext, reference: StaticSymbol): void;
|