/** * Worker API * Heartbeat and status functions used by the Gateway service. * * Task polling/claiming/completion functions were removed — the autonomous * WorkerService that consumed them has been replaced by loop + gateway. */ /** * Worker status */ export type WorkerStatus = 'idle' | 'running' | 'paused'; /** * Worker heartbeat input */ export interface WorkerHeartbeatInput { status: WorkerStatus; currentTaskId?: string; completedCount?: number; failedCount?: number; workingDirectory?: string; capabilities?: string[]; } /** * Send Worker heartbeat */ export declare function sendHeartbeat(sessionId: string, input: WorkerHeartbeatInput): Promise<{ success: boolean; error?: string; }>; //# sourceMappingURL=worker-api.d.ts.map