import type { RootCauseAnalysis, ErrorGroup } from '../rest/error-groups.js'; import { type OutputFormat } from './render.js'; export declare function formatRcaDetail(rca: RootCauseAnalysis, format: OutputFormat): string; export declare function formatRcaHint(count: number, format: OutputFormat): string; export interface ErrorGroupJsonOutput { id: string; checkId: string; errorHash: string; rawErrorMessage: string | null; cleanedErrorMessage: string; firstSeen: string; lastSeen: string; archivedUntilNextEvent: boolean; latestRootCauseAnalysis: { id: string; classification: string; rootCause: string; userImpact: string; codeFix: string | null; evidence: RootCauseAnalysis['analysis']['evidence']; referenceLinks: RootCauseAnalysis['analysis']['referenceLinks']; provider: string; model: string; durationMs: number; created_at: string; } | null; rootCauseAnalysisCount: number; } export interface RcaPendingInfo { rcaId: string; source: { type: 'error-group'; errorGroupId: string; checkId: string; } | { type: 'test-session-error-group'; testSessionErrorGroupId: string; }; } export declare function formatRcaPending(info: RcaPendingInfo, format: OutputFormat | 'json'): string; export declare function formatRcaCompleted(rca: RootCauseAnalysis, format: OutputFormat | 'json'): string; export declare function transformErrorGroupForJson(errorGroup: ErrorGroup): ErrorGroupJsonOutput;