/**
 * SQLite Agent Run Repository Implementation
 *
 * Implements IAgentRunRepository using SQLite database.
 * Uses prepared statements to prevent SQL injection.
 */
import type Database from 'better-sqlite3';
import type { IAgentRunRepository } from '../../application/ports/output/agent-run-repository.interface.js';
import type { AgentRun, AgentRunStatus } from '../../domain/generated/output.js';
/**
 * SQLite implementation of IAgentRunRepository.
 * Manages AgentRun persistence with CRUD operations.
 */
export declare class SQLiteAgentRunRepository implements IAgentRunRepository {
    private readonly db;
    constructor(db: Database.Database);
    create(agentRun: AgentRun): Promise<void>;
    findById(id: string): Promise<AgentRun | null>;
    findByThreadId(threadId: string): Promise<AgentRun | null>;
    updateStatus(id: string, status: AgentRunStatus, updates?: Partial<AgentRun>): Promise<void>;
    findRunningByPid(pid: number): Promise<AgentRun[]>;
    list(): Promise<AgentRun[]>;
    delete(id: string): Promise<void>;
}
//# sourceMappingURL=agent-run.repository.d.ts.map