/**
 * 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, AgentRunPinnedConfigUpdate } from '../../application/ports/output/agents/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>;
    findByIds(ids: readonly string[]): Promise<AgentRun[]>;
    findByThreadId(threadId: string): Promise<AgentRun | null>;
    updateStatus(id: string, status: AgentRunStatus, updates?: Partial<AgentRun>): Promise<void>;
    updatePinnedConfig(id: string, updates: AgentRunPinnedConfigUpdate): Promise<void>;
    findRunningByPid(pid: number): Promise<AgentRun[]>;
    list(): Promise<AgentRun[]>;
    delete(id: string): Promise<void>;
}
//# sourceMappingURL=agent-run.repository.d.ts.map