import type { AgentHandoffEntry, AgentTeamHandoff, AgentHandoffStatus } from '../types/index.js';
export type { AgentHandoffEntry, AgentTeamHandoff, AgentHandoffStatus };
/**
 * SPEC-639: Initialize handoff.json for a spec team.
 * Creates the directory and empty handoff file if it does not exist.
 */
export declare function initTeamHandoff(projectPath: string, specId: string, agentIds: string[]): Promise<AgentTeamHandoff>;
/**
 * SPEC-639: Read the current handoff.json for a spec team.
 * Returns null if not initialized.
 */
export declare function readTeamHandoff(projectPath: string, specId: string): Promise<AgentTeamHandoff | null>;
/**
 * SPEC-639: Write an agent's completion entry to handoff.json.
 * Called by a worker when it finishes (or fails).
 */
export declare function writeAgentHandoffEntry(projectPath: string, specId: string, entry: Omit<AgentHandoffEntry, 'updatedAt'>): Promise<AgentTeamHandoff>;
/**
 * SPEC-639: Return the list of agents that have failed and need re-queuing.
 */
export declare function getFailedAgents(handoff: AgentTeamHandoff): AgentHandoffEntry[];
/**
 * SPEC-639: Return true when all agents are done (none pending or failed).
 * QA may start when this returns true.
 */
export declare function allWorkersDone(handoff: AgentTeamHandoff): boolean;
/**
 * SPEC-639: Collect all files touched by workers for QA consumption.
 */
export declare function collectAllWorkerFiles(handoff: AgentTeamHandoff): {
    filesCreated: string[];
    filesModified: string[];
};
//# sourceMappingURL=agent-handoff-store.d.ts.map