import type { ApiClientConfig } from './api-client.js'; import type { WorkerRegistration, WorkerJobAssignment, WorkerJobAnswer } from './worker-types.js'; /** POST /cli/workers/register */ export declare function registerWorker(config: ApiClientConfig, name: string, agent: string, branch?: string, metadata?: Record): Promise; /** POST /cli/workers/:workerId/heartbeat */ export declare function workerHeartbeat(config: ApiClientConfig, workerId: string, workerStatus?: 'online' | 'busy'): Promise; /** GET /cli/workers/:workerId/poll — long-poll (up to 35s timeout) */ export declare function workerPoll(config: ApiClientConfig, workerId: string): Promise; /** POST /cli/workers/jobs/:jobId/started */ export declare function workerJobStarted(config: ApiClientConfig, jobId: string): Promise; /** POST /cli/workers/jobs/:jobId/output */ export declare function workerJobOutput(config: ApiClientConfig, jobId: string, lines: string[]): Promise; /** POST /cli/workers/jobs/:jobId/question */ export declare function workerJobQuestion(config: ApiClientConfig, jobId: string, content: string): Promise; /** GET /cli/workers/jobs/:jobId/answers?after_sequence=N */ export declare function workerJobAnswers(config: ApiClientConfig, jobId: string, afterSequence?: number): Promise; /** POST /cli/workers/jobs/:jobId/completed */ export declare function workerJobCompleted(config: ApiClientConfig, jobId: string, exitCode: number, changedFiles?: Array<{ path: string; status: 'new' | 'modified' | 'deleted'; }>): Promise; //# sourceMappingURL=worker-client.d.ts.map