import type { AuditFindingsReport, Finding } from "../types/finding.js"; /** * Build the canonical `audit-findings.json` machine contract over `findings`. * The summary is derived deterministically; no work-blocks are emitted (the * deliverable is a flat, re-consumable finding set). Stamped with the same * `contract_version` the auditor emits, so `validateAuditFindingsReport` accepts * it and the remediator's structured fast-path consumes it losslessly. */ export declare function buildAuditFindingsDeliverable(findings: readonly Finding[]): AuditFindingsReport; /** * Render the `audit-report.md` human deliverable for `findings` using the ONE * shared finding renderer (parity with the auditor's report). `title` and * `intro` let the caller frame the deliverable (e.g. "leftovers from an * autonomous run"). */ export declare function renderAuditDeliverableMarkdown(findings: readonly Finding[], options?: { title?: string; intro?: string; }): string; export interface AuditDeliverablePair { /** The canonical machine contract (audit-findings.json content). */ findings_report: AuditFindingsReport; /** The human render (audit-report.md content). */ report_markdown: string; } /** * Build BOTH halves of the re-consumable audit deliverable pair at once. The * JSON is the source of truth; the markdown is its render. The caller writes * `findings_report` to `audit-findings.json` and `report_markdown` to * `audit-report.md`. */ export declare function buildAuditDeliverablePair(findings: readonly Finding[], options?: { title?: string; intro?: string; }): AuditDeliverablePair; //# sourceMappingURL=auditDeliverable.d.ts.map