import type { BenchmarkSlot } from "./benchmark-types.js";
export type ToolExecutionRecord = {
    taskId: string;
    turnIndex: number;
    slot: BenchmarkSlot;
    action?: string;
    latencyMs: number;
    repairAttempt: number;
    success: boolean;
    errorClass?: string;
};
export type TurnTelemetryRecord = {
    taskId: string;
    turnIndex: number;
    contextRatioBefore: number;
    contextRatioAfter: number;
    adapter: "host" | "sandbox" | "none";
    metaReason?: string;
    errorClass?: string;
};
export type TelemetrySummary = {
    toolCalls: number;
    toolSuccessRate: number;
    repairFailures: number;
    averageContextRatioBefore: number;
    averageContextRatioAfter: number;
};
export declare function summarizeTelemetry(toolExecutions: ToolExecutionRecord[], turns: TurnTelemetryRecord[]): TelemetrySummary;
//# sourceMappingURL=telemetry.d.ts.map