1 | /**
|
---|
2 | * @license
|
---|
3 | * Copyright Google LLC 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 { OutputContext } from '../constant_pool';
|
---|
10 | import { Summary, SummaryResolver } from '../summary_resolver';
|
---|
11 | import { StaticSymbol, StaticSymbolCache } from './static_symbol';
|
---|
12 | import { ResolvedStaticSymbol, StaticSymbolResolver } from './static_symbol_resolver';
|
---|
13 | export declare function serializeSummaries(srcFileName: string, forJitCtx: OutputContext | null, summaryResolver: SummaryResolver<StaticSymbol>, symbolResolver: StaticSymbolResolver, symbols: ResolvedStaticSymbol[], types: {
|
---|
14 | summary: CompileTypeSummary;
|
---|
15 | metadata: CompileNgModuleMetadata | CompileDirectiveMetadata | CompilePipeMetadata | CompileTypeMetadata;
|
---|
16 | }[], createExternalSymbolReexports?: boolean): {
|
---|
17 | json: string;
|
---|
18 | exportAs: {
|
---|
19 | symbol: StaticSymbol;
|
---|
20 | exportAs: string;
|
---|
21 | }[];
|
---|
22 | };
|
---|
23 | export declare function deserializeSummaries(symbolCache: StaticSymbolCache, summaryResolver: SummaryResolver<StaticSymbol>, libraryFileName: string, json: string): {
|
---|
24 | moduleName: string | null;
|
---|
25 | summaries: Summary<StaticSymbol>[];
|
---|
26 | importAs: {
|
---|
27 | symbol: StaticSymbol;
|
---|
28 | importAs: StaticSymbol;
|
---|
29 | }[];
|
---|
30 | };
|
---|
31 | export declare function createForJitStub(outputCtx: OutputContext, reference: StaticSymbol): void;
|
---|