import type { AgentDistribution } from './registry-schema.js';
import { downloadAgentArchive } from './download.js';
/** Atomic, content-addressed installs shared across preparation requests. */
export declare function createAgentBinaryCache(cacheDir: string, download?: typeof downloadAgentArchive): {
    /** Prepare one binary without deleting older versions used by active adapters. */
    prepare(id: string, distribution: AgentDistribution, signal: AbortSignal): Promise<string>;
};
//# sourceMappingURL=binary-cache.d.ts.map