/** * render-diagnostic — the host-owned human renderer for {@link CliDiagnostic}s * (ADR-0060, Phase 2). One standard stderr format for bootstrap/setup * diagnostics; detailed raw errors stay in structured logs (`logRef`). */ import type { CliDiagnostic } from '@opensip-cli/contracts'; /** Host seam for stderr delivery — keeps the renderer testable without Ink. */ export interface DiagnosticRenderHost { readonly writeStderr: (text: string) => void; } /** * Materialize one diagnostic as the canonical human line + indented detail block. */ export declare function renderDiagnosticHuman(diag: CliDiagnostic): string; /** * Render buffered diagnostics to stderr through the supplied host only — the one * sanctioned human presentation seam for bootstrap diagnostics. */ export declare function renderDiagnosticsHuman(diags: readonly CliDiagnostic[], host: DiagnosticRenderHost): void; //# sourceMappingURL=render-diagnostic.d.ts.map