import type { ExecutionTrace } from "./execution-trace.js"; import type { AgentId, CreateHandoffRequest, ExecutionTraceSnapshot, HandoffPackage, HandoffStatus } from "./handoff-types.js"; /** * AgentHandoffCoordinator - manages agent-to-agent handoffs. */ export declare class AgentHandoffCoordinator { /** * Prepare a handoff package. */ static prepareHandoff(request: CreateHandoffRequest): HandoffPackage; /** * Parse a serialized handoff. */ static parseHandoff(json: string | object): HandoffPackage; private handoffs; /** * Register a handoff. */ register(handoff: HandoffPackage): void; /** * Get a handoff by ID. */ get(id: string): HandoffPackage | undefined; /** * Update handoff status. */ updateStatus(id: string, status: HandoffStatus): boolean; /** * Check if handoff is expired. */ isExpired(handoff: HandoffPackage): boolean; /** * List pending handoffs for an agent. */ listPendingForAgent(agentId: AgentId): HandoffPackage[]; /** * Clear expired handoffs. */ clearExpired(): number; /** * Create a serializable snapshot from an execution trace. */ static createTraceSnapshot(trace: ExecutionTrace): ExecutionTraceSnapshot; /** * Convert handoff to JSON string. */ static toJSON(handoff: HandoffPackage): string; /** * Generate markdown summary of handoff. */ static toMarkdown(handoff: HandoffPackage): string; } /** * Default coordinator instance. */ export declare const agentHandoffCoordinator: AgentHandoffCoordinator; //# sourceMappingURL=agent-handoff-coordinator.d.ts.map