import type { SeedRun } from "../run-state/types.js";
import type { RunStore } from "../run-state/store.js";
export type SeedRunTelemetrySummary = {
    schema_version: 1;
    generated_at: string;
    run: {
        run_id: string;
        status: SeedRun["status"];
        created_at: string;
        updated_at: string;
        completed_at?: string;
        duration_ms?: number;
        professor_goal_summary: string;
    };
    tasks: {
        total: number;
        by_status: Record<string, number>;
        open: number;
        blocked: number;
        completed: number;
        with_evidence: number;
        acceptance_criteria_total: number;
    };
    tools: {
        total: number;
        by_status: Record<string, number>;
        by_tool: Record<string, number>;
        failed: number;
        with_evidence: number;
    };
    agents: {
        total: number;
        by_status: Record<string, number>;
        by_target_agent: Record<string, number>;
        by_mode: Record<string, number>;
        failed: number;
        model_attempts: {
            total: number;
            by_status: Record<string, number>;
            by_model: Record<string, number>;
            fallback_attempts: number;
        };
    };
    events: {
        total: number;
        by_type: Record<string, number>;
        latest: Array<{
            timestamp: string;
            type: string;
            actor: string;
            summary: string;
        }>;
    };
    evidence: {
        ledger_count: number;
        referenced_count: number;
        referenced: string[];
        final_report_refs: string[];
        task_evidence_refs: string[];
        final_report_covers_task_evidence: boolean;
    };
    quality_gates: {
        has_final_report: boolean;
        final_report_has_evidence_refs: boolean;
        no_open_tasks: boolean;
        no_blocked_tasks: boolean;
        no_failed_tools: boolean;
        no_failed_agent_calls: boolean;
        warnings: string[];
    };
};
export declare function buildRunTelemetrySummary(store: RunStore, runId: string): Promise<SeedRunTelemetrySummary>;
