/** * HTML report generator (the "expanded" mode) — a self-contained, presentable * report rendered from the shared report model. Inline CSS, no external assets; * opens in a browser and is shareable as a single file. Also the natural output * for the future hosted service. * * Customization: a default template with `{{placeholder}}` slots, overridable * via `template`, plus theme knobs (title, logo, accent, footer). */ import type { AuditFinding } from "./core.js"; import { type AuditSnapshot, type BuildModelOptions } from "./report-model.js"; export type { AuditSnapshot } from "./report-model.js"; /** Customizable theme knobs filled into the template. */ export interface ReportTheme { title?: string; /** Logo: a URL (rendered as ) or inline text/SVG. */ logo?: string; /** CSS color for accents. */ accent?: string; /** Footer HTML (defaults to attribution). */ footer?: string; } export interface RenderHtmlOptions extends BuildModelOptions { snapshot?: AuditSnapshot; theme?: ReportTheme; /** Full template override; `{{title}} {{accent}} {{logo}} {{meta}} {{body}} {{footer}}` slots. */ template?: string; notes?: string[]; } /** Render an audit report as a self-contained HTML document. */ export declare function renderHtml(findings: AuditFinding[], opts?: RenderHtmlOptions): string; //# sourceMappingURL=report-html.d.ts.map