import type { DiagnosticBag } from './diagnostic.js'; export interface DiagnosticsReport { readonly format: 'prodara-diagnostics'; readonly version: '0.1.0'; readonly source: 'prodara-compiler'; readonly timestamp: string; readonly summary: { errors: number; warnings: number; info: number; }; readonly diagnostics: readonly SerializedDiagnostic[]; } interface SerializedDiagnostic { phase: string; category: string; severity: string; code: string; message: string; file: string; line?: number; column?: number; end_line?: number; end_column?: number; construct_kind?: string; construct_id?: string; related?: readonly { message: string; file: string; line?: number; column?: number; }[]; fix?: { description: string; suggestions?: readonly string[]; }; } /** Serialize diagnostics to the spec-defined JSON format. */ export declare function formatDiagnosticsJson(bag: DiagnosticBag): string; /** Format diagnostics for human-readable terminal output. */ export declare function formatDiagnosticsHuman(bag: DiagnosticBag): string; export {}; //# sourceMappingURL=reporter.d.ts.map