import { type Result, type ResultStatus, type FailureAnalysis } from "../types/index.js";
export declare function createResult(input: {
    runId: string;
    scenarioId: string;
    model: string;
    stepsTotal: number;
    personaId?: string | null;
    personaName?: string | null;
}): Result;
export declare function getResult(id: string): Result | null;
export declare function listResults(runId: string): Result[];
export declare function updateResult(id: string, updates: Partial<{
    status: ResultStatus;
    reasoning: string;
    error: string;
    stepsCompleted: number;
    durationMs: number;
    tokensUsed: number;
    costCents: number;
    metadata: Record<string, unknown>;
    failureAnalysis: FailureAnalysis | null;
}>): Result;
export declare function getResultsByRun(runId: string): Result[];
export declare function countResultsByRun(runId: string): number;
//# sourceMappingURL=results.d.ts.map