/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import type { Compilation } from 'webpack'; export declare class WebpackResourceLoader { private _parentCompilation?; private _fileDependencies; private _reverseDependencies; private fileCache?; private assetCache?; private modifiedResources; private outputPathCounter; private readonly inlineDataLoaderPath; constructor(shouldCache: boolean); update(parentCompilation: Compilation, changedFiles?: Iterable): void; clearParentCompilation(): void; getModifiedResourceFiles(): Set; getResourceDependencies(filePath: string): Set | never[]; getAffectedResources(file: string): Set | never[]; setAffectedResources(file: string, resources: Iterable): void; private _compile; private _evaluate; get(filePath: string): Promise; process(data: string, mimeType: string | undefined, fileExtension: string | undefined, resourceType: 'template' | 'style', containingFile?: string): Promise; }