import { type BuiltinPlugin, BuiltinPluginName } from '../binding';
import { RspackBuiltinPlugin } from '../builtin-plugin/base';
import type { Compiler } from '../Compiler';
import { type NormalizedSharedOptions, type ShareScope } from './SharePlugin';
export type CollectSharedEntryPluginOptions = {
    sharedOptions: NormalizedSharedOptions;
    shareScope?: ShareScope;
};
export type ShareRequestsMap = Record<string, {
    shareScope: string;
    requests: [string, string][];
}>;
export declare class CollectSharedEntryPlugin extends RspackBuiltinPlugin {
    name: BuiltinPluginName;
    sharedOptions: NormalizedSharedOptions;
    private _collectedEntries;
    constructor(options: CollectSharedEntryPluginOptions);
    getData(): ShareRequestsMap;
    getFilename(): string;
    apply(compiler: Compiler): void;
    raw(): BuiltinPlugin;
}
