import type Database from 'better-sqlite3';
import type { ComparisonMetricKey, ComparisonResult, MultiTraceComparisonRun, MultiTraceComparisonRunStatus } from '../types/multiTraceComparison';
import type { EnterpriseRepositoryScope } from './enterpriseRepository';
export interface CreateComparisonRunInput {
    id?: string;
    baselineSnapshotId?: string;
    candidateSnapshotIds: string[];
    query: string;
    metricKeys?: ComparisonMetricKey[];
    status?: MultiTraceComparisonRunStatus;
}
export interface UpdateComparisonRunInput {
    status: MultiTraceComparisonRunStatus;
    baselineSnapshotId?: string;
    result?: ComparisonResult;
    reportId?: string;
    error?: string;
    completedAt?: number;
}
export declare class MultiTraceComparisonRunRepository {
    private readonly db;
    constructor(db: Database.Database);
    createRun(scope: EnterpriseRepositoryScope, input: CreateComparisonRunInput): MultiTraceComparisonRun;
    getRun(scope: EnterpriseRepositoryScope, comparisonId: string): MultiTraceComparisonRun | null;
    updateRun(scope: EnterpriseRepositoryScope, comparisonId: string, input: UpdateComparisonRunInput): MultiTraceComparisonRun | null;
}
export declare function createMultiTraceComparisonRunRepository(db: Database.Database): MultiTraceComparisonRunRepository;
//# sourceMappingURL=multiTraceComparisonStore.d.ts.map