import { Hono } from 'hono'; /** * Fetch every remote `http(s)` `` and inline it as a `data:` URI * (pandoc `--embed-resources` parity) so a shared `.html` needs no network at * render time. Each fetch has a short timeout; any failure (network, timeout, * non-200, oversized) degrades gracefully by leaving the original remote `src` * untouched — the export never throws or blocks on a slow host. Local/`data:` * URIs are already handled by `inlineImages` and are skipped here. */ export declare function inlineRemoteImages(html: string): Promise; export declare function wrapMarkdownAsHtml(markdown: string, opts?: { baseDir?: string; deck?: boolean; }): Promise; /** * Wrap a rendered `` string in a print-ready HTML page for puppeteer→PDF. * GH-477: the blank-PDF bug was passing raw mxGraph XML (a `.drawio` document) * down this path — it is NOT an ``, so the body had nothing paintable and the * PDF came out empty. The DiagramsPage now captures the DiagramRenderer's rendered * SVG and sends THAT as `type: 'svg'`; this wrapper embeds it verbatim. */ export declare function wrapSvgAsHtml(svg: string): string; export declare function exportRoute(): Hono;