import type { OutputEntry } from '../bundle-entries.js';
import type { LinkedJsModuleResult } from '../../../types/index.js';
interface LinkedUpdateHelpersOptions {
    jsEntries: Map<string, OutputEntry>;
    onUpdate: (fileName: string, previous: string, next: string) => void;
    debug: (format: string, ...args: unknown[]) => void;
}
export declare function createLinkedUpdateHelpers(options: LinkedUpdateHelpersOptions): {
    applyLinkedUpdates: (linked?: Record<string, LinkedJsModuleResult>) => void;
    pendingLinkedUpdates: (() => void)[];
};
export declare function collectLinkedFileNames(linked: Record<string, LinkedJsModuleResult> | undefined, getJsEntry: (id: string) => OutputEntry | undefined, linkedSet: Set<string> | undefined): void;
export {};
