import type { ReportBundleFormat, ReportBundleManifestV1 } from "../types/manifest.js"; import type { SiteLensReportV1 } from "../types/report-v1.js"; export declare const REPORT_JSON_FILENAME = "report.json"; export declare const MANIFEST_JSON_FILENAME = "manifest.json"; export declare const REPORT_MD_FILENAME = "report.md"; export declare const REPORT_HTML_FILENAME = "report.html"; export interface WriteReportBundleOptions { /** Absolute directory to write into. */ outputDir: string; report: SiteLensReportV1; /** Default: ["json"]. Include "markdown" / "html" to write those formats. */ formats?: ReportBundleFormat[]; originalEvidence?: ReportBundleManifestV1["originalEvidence"]; /** * When true, hash screenshot/compare assets that already exist under outputDir * and list them in the manifest. Does not copy files (use exportPortableBundle for that). */ includeLocalAssetChecksums?: boolean; } export interface WriteReportBundleResult { reportJsonPath: string; manifestPath: string; reportMarkdownPath?: string; reportHtmlPath?: string; report: SiteLensReportV1; manifest: ReportBundleManifestV1; } /** * Write report.json + manifest.json (+ optional md/html) into a directory. * * Checksum policy: * - Content files (report.json, report.md, report.html, listed assets) get sha256. * - manifest.json is listed without sha256 (no self-hash / recursive hash). */ export declare function writeReportBundle(options: WriteReportBundleOptions): Promise; //# sourceMappingURL=write-bundle.d.ts.map