/** * Human-render lines for `cleo doctor --audit-invariants` (T10340). * * Pure string-builder — produces an array of lines that the CLI thin * wrapper emits via `humanLine`. Keeping rendering in core honours the * CLI Boundary lint (T10076) and lets the underlying primitive be * unit-tested without spinning up the CLI surface. * * Output structure (Saga T10326 R6 AC2 + AC3): * - Header line with totals + filter context. * - One block per ADR (alphabetically), with severity bands inside. * - Each violation line includes the offender ID + repair command. * - Trailing roll-up recapping `passing / documented / not-applicable` * so the gap analysis is visible end-to-end. * * @task T10340 * @epic T10327 * @saga T10326 */ import type { InvariantAuditResult } from '@cleocode/contracts'; /** * Render the invariant-registry audit result as an array of human-readable * lines. The CLI thin-wrapper emits each entry via `humanLine` so this * function stays free of side effects + the rendering is unit-testable. * * @param result - The audit result from `auditInvariantRegistry`. * @returns An ordered list of lines to emit, one per row. Blank-line * separators are produced as empty strings so the consumer can * decide whether to fold them. */ export declare function renderInvariantAuditLines(result: InvariantAuditResult): string[]; //# sourceMappingURL=invariant-audit-render.d.ts.map