import type { HumanizationReport } from '../services/agentService'; export interface WorkerState { workerId: string; sectionIndex: number; status: string; progressPercent: number; partialOutput?: string; } export interface AgentProgressState { workers: WorkerState[]; supervisorStatus: string; isComplete: boolean; isFailed: boolean; report: HumanizationReport | null; errorCode: string | null; } /** * Subscribes to SSE progress events for a given sessionId. * Aggregates per-worker state keyed by workerId. * Cleans up the EventSource on unmount. */ export declare function useAgentProgress(sessionId: string | null, userToken: string): AgentProgressState; //# sourceMappingURL=useAgentProgress.d.ts.map