UNPKG

948 BTypeScriptView Raw
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 */
8import { InlineOptions } from './bundle-inline-options';
9import { I18nOptions } from './i18n-options';
10export declare class BundleActionExecutor {
11 private workerOptions;
12 private workerPool?;
13 constructor(workerOptions: {
14 i18n: I18nOptions;
15 });
16 private ensureWorkerPool;
17 inline(action: InlineOptions): Promise<{
18 file: string;
19 diagnostics: {
20 type: string;
21 message: string;
22 }[];
23 count: number;
24 }>;
25 inlineAll(actions: Iterable<InlineOptions>): AsyncIterable<{
26 file: string;
27 diagnostics: {
28 type: string;
29 message: string;
30 }[];
31 count: number;
32 }>;
33 private static executeAll;
34 stop(): void;
35}