import type { ReportBundleFormat, ReportBundleManifestV1 } from "../types/manifest.js"; import type { SiteLensReportV1 } from "../types/report-v1.js"; import { verifyBundleIntegrity } from "./integrity.js"; export declare const REPORT_HTML_FILENAME = "report.html"; export declare const PORTABLE_BUNDLE_VERSION: 1; export interface ExportPortableBundleOptions { /** Source run/suite directory containing evidence assets referenced by the report. */ sourceDir: string; /** Destination directory (created) or path ending in .zip */ outPath: string; report: SiteLensReportV1; formats?: ReportBundleFormat[]; /** When true, copy safe evidence JSON (summary/action-log/raw redacted) into evidence/. Default false. */ includeEvidence?: boolean; originalEvidence?: ReportBundleManifestV1["originalEvidence"]; /** Fixed timestamp for ZIP entry metadata (tests). */ zipFixedDate?: Date; } export interface ExportPortableBundleResult { outputPath: string; kind: "directory" | "zip"; report: SiteLensReportV1; manifest: ReportBundleManifestV1; integrity: Awaited>; } /** * Export a portable report bundle (directory or ZIP). * Rewrites asset paths inside the report to portable `assets/...` locations. * Does not upload or execute Playwright. */ export declare function exportPortableBundle(options: ExportPortableBundleOptions): Promise; //# sourceMappingURL=portable-export.d.ts.map