export interface EmittedModule { resource?: string; modules?: Iterable; } interface EmittedChunk { files?: Iterable; } export interface EmittedCompilation { getAssets?: () => readonly { name: string; source: { source(): string | Buffer; }; }[]; chunkGraph?: { getModuleChunksIterable(module: EmittedModule): Iterable; }; } export declare function shippableText(text: string): string; export declare function readEmittedScripts(compilation: EmittedCompilation): Map; export declare function readProjectSource(resource: string, compile?: object): string | undefined; export declare function emittedFilesOf(compilation: EmittedCompilation, module: EmittedModule): string[] | undefined; export {};