import { WorkspaceResolution } from "../../workspace/WorkspaceManager.js"; export interface JobsApiJob { id: string; type: string; command_name?: string; job_state?: string; job_state_detail?: string; job_state_detail_code?: string; total_units?: number | null; completed_units?: number | null; created_at?: string; updated_at?: string; last_checkpoint_at?: string; completed_at?: string | null; payload_json?: unknown; } export interface JobsApiLogs { entries: Array<{ timestamp: string; sequence?: number | null; level?: string | null; source?: string | null; message?: string | null; task_id?: string | null; task_key?: string | null; phase?: string | null; details?: Record | null; }>; cursor?: { timestamp: string; sequence?: number | null; }; } export interface JobsApiTasksSummary { totals: Record; tasks: Array<{ task_id?: string | null; task_key?: string | null; status?: string | null; started_at?: string | null; finished_at?: string | null; command?: string | null; }>; } export declare class JobsApiClient { private workspace; private baseUrl; constructor(workspace: WorkspaceResolution, baseUrl: string); private fetchJson; private postJson; listJobs(params: { status?: string; type?: string; project?: string; since?: string; limit?: number; }): Promise; getJob(jobId: string): Promise; getCheckpoint(jobId: string): Promise | undefined>; getLogs(jobId: string, params: { since?: string; after?: { timestamp: string; sequence?: number | null; }; }): Promise; getTasksSummary(jobId: string): Promise; cancelJob(jobId: string, options?: { force?: boolean; reason?: string; }): Promise; } //# sourceMappingURL=JobsApiClient.d.ts.map