import type { GateEvent } from './gate-telemetry.js';
type FidelityEventKind = Extract<GateEvent['kind'], 'fidelity_claim_observed' | 'fidelity_compaction_fact_observed'>;
export interface FidelityTelemetrySummaryOptions {
    home?: string;
    maxFiles?: number;
    sampleLimit?: number;
}
export interface FidelityTelemetrySample {
    reviewKey: string;
    ts: number;
    kind: FidelityEventKind;
    target: string;
    verdict: string;
    detail: string;
    model?: string;
    phase?: string;
    surface?: string;
}
export interface FidelityTelemetrySummary {
    home: string;
    telemetryDir: string;
    filesRead: string[];
    totalEvents: number;
    malformedLines: number;
    claims: {
        total: number;
        matched: number;
        unmatched: number;
    };
    compactionFacts: {
        total: number;
        preserved: number;
        dropped: number;
    };
    recent: FidelityTelemetrySample[];
}
export declare function buildFidelityTelemetrySummary(options?: FidelityTelemetrySummaryOptions): FidelityTelemetrySummary;
export declare function formatFidelityTelemetrySummary(summary: FidelityTelemetrySummary): string;
export declare function formatFidelityTelemetryJson(summary: FidelityTelemetrySummary): string;
export declare function formatFidelityReviewPacket(summary: FidelityTelemetrySummary): string;
export {};
