export type JobStatus = 'queued' | 'running' | 'completed' | 'failed';
export interface ToolCallRecord {
    turn: number;
    tool: string;
    args: unknown;
    timestamp: string;
}
export interface Job {
    id: string;
    agent: string;
    task: string;
    repo?: string;
    status: JobStatus;
    progress: string;
    toolCalls: ToolCallRecord[];
    result?: string;
    error?: string;
    createdAt: string;
    updatedAt: string;
}
export declare function createJob(agent: string, task: string, repo?: string): Job;
export declare function getJob(id: string): Job | undefined;
export declare function updateJob(id: string, updates: Partial<Job>): Job | undefined;
export declare function listJobs(limit?: number): Job[];
