/** * Self-contained HTML reporter for `pnpm rudder ai:eval --html` * (#A5 Phase 5). Renders one or more {@link SuiteReport}s into a * single HTML string with inline styles and minimal vanilla JS for * row expand/collapse — no framework deps, no external assets, safe * to paste into a PR comment or open offline. * * Defensive HTML-escape on every piece of user content (suite name, * case name, input, response, metadata). Long responses get a * `
` block with `white-space: pre-wrap` so output stays
* scannable without a horizontal scroll.
*/
import type { SuiteReport } from './index.js';
export interface HtmlReportOptions {
/** Document ``. Defaults to `"Eval Report"`. */
title?: string;
/** ISO timestamp shown in the header. Defaults to `new Date().toISOString()`. */
generatedAt?: string;
}
/**
* Render an array of {@link SuiteReport}s as a single self-contained
* HTML document.
*/
export declare function reportHtml(reports: SuiteReport[], opts?: HtmlReportOptions): string;
//# sourceMappingURL=html-reporter.d.ts.map