/**
 * APS v2 Epistemic Isolation (Consensus Trap Defense)
 *
 * When multiple agents evaluate the same task, sequential visibility
 * of each other's outputs creates anchoring cascades. Five "independent"
 * assessments become a contamination chain.
 *
 * This module enforces submission barriers: no agent sees peer output
 * until all have submitted. An epistemic hygiene primitive.
 */
export interface SubmissionBarrier {
    id: string;
    task_id: string;
    required_agents: string[];
    submissions: Map<string, BarrierSlot>;
    status: 'collecting' | 'complete' | 'revealed';
    created_at: string;
}
export interface BarrierSlot {
    agent_id: string;
    content_hash: string;
    content: string;
    submitted_at: string;
}
export interface BarrierResult {
    barrier_id: string;
    task_id: string;
    submissions: Array<{
        agent_id: string;
        content: string;
        submitted_at: string;
    }>;
    revealed_at: string;
}
export declare function createBarrier(taskId: string, requiredAgents: string[]): SubmissionBarrier;
export declare function submitToBarrier(barrierId: string, agentId: string, content: string): void;
export declare function isBarrierComplete(barrierId: string): boolean;
export declare function getBarrierStatus(barrierId: string): {
    status: string;
    submitted: string[];
    remaining: string[];
    hashes?: Record<string, string>;
};
export declare function revealResults(barrierId: string): BarrierResult;
export declare function getBarrier(id: string): SubmissionBarrier | undefined;
export declare function clearEpistemicIsolationStores(): void;
//# sourceMappingURL=epistemic-isolation.d.ts.map