export interface BenchmarkAssertionResult {
    id: string;
    text: string;
    pass: boolean;
    reasoning: string;
}
export interface ComparisonCaseDetail {
    skillDurationMs: number;
    skillTokens: number | null;
    skillInputTokens?: number | null;
    skillOutputTokens?: number | null;
    baselineDurationMs: number;
    baselineTokens: number | null;
    baselineInputTokens?: number | null;
    baselineOutputTokens?: number | null;
    skillContentScore: number;
    skillStructureScore: number;
    baselineContentScore: number;
    baselineStructureScore: number;
    winner: "skill" | "baseline" | "tie";
}
export interface BenchmarkCase {
    eval_id: number;
    eval_name: string;
    status: "pass" | "fail" | "error";
    error_message: string | null;
    pass_rate: number;
    durationMs?: number;
    tokens?: number | null;
    inputTokens?: number | null;
    outputTokens?: number | null;
    cost?: number | null;
    billingMode?: string;
    output?: string;
    assertions: BenchmarkAssertionResult[];
    comparisonDetail?: ComparisonCaseDetail;
}
export type ActionRecommendation = "keep" | "improve" | "rewrite" | "remove";
export interface ActionItems {
    recommendation: ActionRecommendation;
    summary: string;
    weaknesses: string[];
    strengths: string[];
    suggestedFocus: string;
}
export interface BenchmarkResult {
    timestamp: string;
    model: string;
    skill_name: string;
    cases: BenchmarkCase[];
    overall_pass_rate?: number;
    type?: "benchmark" | "comparison" | "baseline" | "model-compare" | "improve" | "instruct" | "ai-generate" | "eval-generate";
    provider?: string;
    totalDurationMs?: number;
    totalInputTokens?: number | null;
    totalOutputTokens?: number | null;
    totalCost?: number | null;
    scope?: "single" | "bulk";
    verdict?: string;
    comparison?: {
        skillPassRate: number;
        baselinePassRate: number;
        skillRubricAvg: number;
        baselineRubricAvg: number;
        delta: number;
    };
    improve?: {
        original: string;
        improved: string;
        reasoning: string;
    };
    generate?: {
        prompt: string;
        result: string;
    };
    actionItems?: ActionItems;
    mcpSimulation?: {
        active: boolean;
        servers: string[];
    };
}
export declare function writeBenchmark(skillDir: string, result: BenchmarkResult): Promise<void>;
export declare function readBenchmark(skillDir: string): Promise<BenchmarkResult | null>;
