/** * Markdown report generator (the "minimized" mode) — renders the shared * report model as Markdown that pastes cleanly into a PR or issue. * * - **Quick wins (deterministic)** lead, per file, with one combined unified * diff so the report doubles as a ready-to-apply patch. * - **Needs review (guidance)** and **Report-only (hygiene)** collapse into * `
` so a pasted report opens on the actionable fix. * * For a presentable/branded report, see `renderHtml` (report-html.ts). */ import type { AuditFinding } from "./core.js"; import { type RuleMeta } from "./catalog.js"; import type { ProveOptions } from "./proof.js"; export interface RenderOptions { /** Repo URL or path shown in the header. */ target?: string; /** Audited file contents (path → YAML), enabling inline fix diffs. */ files?: Array<{ path: string; content: string; }>; /** Resolve an action ref to a SHA so pin fixes can be diffed. */ resolveSha?: ProveOptions["resolveSha"]; /** Resolve a container image to a digest so image-pin fixes can be diffed. */ resolveDigest?: ProveOptions["resolveDigest"]; /** Coverage caveats shown near the top (e.g. unresolved GitLab includes). */ notes?: string[]; /** Resolved audit catalog (core static + active lexicons' contributions, #687). Defaults to core's static catalog. */ catalog?: Record; } /** Render an audit report as Markdown. */ export declare function renderMarkdown(findings: AuditFinding[], opts?: RenderOptions): string; //# sourceMappingURL=report.d.ts.map