import type Database from 'better-sqlite3'; import type { AgentRun } from '../types.js'; export interface CreateAgentRunInput { readonly task_id: string; readonly kind: string; readonly role?: string; readonly input_ref?: string; } export declare class AgentRunRepository { private readonly db; constructor(db: Database.Database); create(input: CreateAgentRunInput): AgentRun; findById(id: string): AgentRun | null; findByTaskId(taskId: string): readonly AgentRun[]; start(id: string): AgentRun; complete(id: string, outputRef?: string): AgentRun; fail(id: string, errorMessage: string): AgentRun; } //# sourceMappingURL=agent-run.d.ts.map