import type { BuildResult } from '../build/build-adapter.js'; /** * Per-request browser build dedupe cache. * * @remarks * `DedupingBuildExecutor` only coalesces concurrent identical builds. Asset * processing can call the same logical bundle several times in one request * (page graph, HMR, content scripts) after the first build settles. This cache * reuses the settled result until the request scope ends. */ declare class RequestBuildDedupe { private readonly storage; run(fn: () => Promise): Promise; dedupeBuild(key: string, build: () => Promise): Promise; getCachedCountForTests(): number; } export declare const requestBuildDedupe: RequestBuildDedupe; export {};