import type { HistoireProjectTestCollectionResult } from '@histoire/protocol';
import type { Plugin } from 'vite';
/** Private endpoint lives only on the owned browser collection server. */
export declare const TEST_COLLECTION_ENDPOINT = "/__histoire_test_collect__";
/** Admit each completed variant once, bounded by exact operation inventory. */
export declare function createTestCollectionChannel(execution: HistoireProjectTestCollectionResult['execution'], targets: HistoireProjectTestCollectionResult['variants'][number]['target'][], onProgress?: (result: HistoireProjectTestCollectionResult) => void): {
    plugin: Plugin<any>;
    results: Map<string, {
        target: import("@histoire/protocol").HistoireTarget & {
            variantId: string;
        };
        collection: import("@histoire/protocol").HistoireTestCollectionResult;
    }>;
};
//# sourceMappingURL=collection-channel.d.ts.map