///
import type { Compiler } from "webpack";
import { ModuleCollectorOptions, ModuleSnapshot } from "../moduleCollector";
export declare type SnapshotListener = (snapshot: ModuleSnapshot) => void;
export interface DynamicDLLPluginOptions {
resolveWebpackModule: (s: string) => ReturnType;
dllName: string;
onSnapshot: SnapshotListener;
shareScope?: string;
}
export declare class DynamicDLLPlugin {
private _collector;
private _resolveWebpackModule;
private _dllName;
private _shareScope?;
private _timer;
private _matchCache;
private _onSnapshot;
private _disabled;
constructor(opts: DynamicDLLPluginOptions & ModuleCollectorOptions);
disableDllReference(): void;
apply(compiler: Compiler): void;
}