/**
 * Types for judge evaluation storage.
 *
 * Defines the structure of persisted evaluation results.
 */
import type { JudgeEvaluation } from "../types.js";
/**
 * Stored evaluation result with metadata.
 *
 * Extends the base JudgeEvaluation with additional tracking information:
 * - timestamp: When the evaluation was performed
 * - promptId: Identifier for the prompt being evaluated
 * - branchName: Git branch where evaluation occurred
 * - appId: Application identifier
 * - commitSha: Git commit SHA
 * - prompt: The actual prompt text
 */
export interface StoredEvaluation {
    /** ISO 8601 timestamp of when the evaluation was performed */
    timestamp: string;
    /** Unique identifier for the prompt being evaluated */
    promptId: string;
    /** Git branch name where the evaluation occurred */
    branchName: string;
    /** Application identifier */
    appId: string;
    /** Git commit SHA */
    commitSha: string;
    /** The actual prompt text that was evaluated */
    prompt: string;
    /** The complete evaluation result */
    evaluation: JudgeEvaluation;
}
/**
 * Query filters for retrieving evaluations.
 */
export interface EvaluationQuery {
    /** Filter by prompt ID */
    promptId?: string;
    /** Filter by branch name */
    branchName?: string;
    /** Filter by app ID */
    appId?: string;
    /** Filter by pass/fail status */
    passed?: boolean;
    /** Filter by minimum score */
    minScore?: number;
    /** Filter by date range (ISO 8601 timestamps) */
    startDate?: string;
    endDate?: string;
    /** Maximum number of results to return */
    limit?: number;
}
//# sourceMappingURL=types.d.ts.map