/**
 * Rewrite `<img src="file://...">` references in QA HTML reports to inline
 * base64 data URIs.
 *
 * Why: QA reports are rendered in the browser from a blob URL. `file://` image
 * sources are blocked cross-origin, so the server inlines them before the
 * report is stored/served. The QA agent spills screenshots to disk via
 * `browser_screenshot(includeBase64=true)` and references them by absolute
 * path — this function closes the loop.
 *
 * Security: only files under the session cwd (including `<cwd>/.bobbit-qa/`)
 * are inlined. Anything else is left unchanged.
 *
 * Cap: total inlined bytes are limited (default 20 MB). Once the cap is hit,
 * remaining references are left as-is (partial inlining is fine; the bulk
 * usually fits).
 */
export interface InlineFileImagesOptions {
    /** Max total inlined bytes before further replacements are skipped. Default 20 MB. */
    maxBytes?: number;
    /** Logger for skipped files (missing, outside cwd, etc.). Default: console.warn. */
    logger?: (msg: string) => void;
}
export declare function inlineFileImages(html: string, sessionCwd: string, opts?: InlineFileImagesOptions): string;
//# sourceMappingURL=inline-file-images.d.ts.map