import type { TraceEventWithId } from "../types.js";
type JsonRecord = Record<string, unknown>;
export interface DiagnosticEvidenceItem {
    eventId: string;
    type: string;
    timestamp: string;
    agentName?: string;
    summary: string;
    data?: JsonRecord;
}
export interface DiagnosticGroup {
    id: string;
    title: string;
    severity: "error" | "warning" | "info";
    category: string;
    stage?: string;
    code?: string;
    rootCause?: string;
    operatorSummary?: string;
    recommendedActions: string[];
    evidence: DiagnosticEvidenceItem[];
    relatedEventIds: string[];
}
export interface DiagnosticLayer {
    summary: {
        groupCount: number;
        errorGroups: number;
        warningGroups: number;
        infoGroups: number;
        rawEvidenceEvents: number;
    };
    groups: DiagnosticGroup[];
}
export declare function buildDiagnosticLayer(events: TraceEventWithId[]): DiagnosticLayer;
export {};
//# sourceMappingURL=diagnostic-layer.d.ts.map