import type { RootCauseAnalysis, ErrorGroup } from '../rest/error-groups'; import { type OutputFormat } from './render'; 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; errorGroupId: string; checkId: 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;