export type OutputFormat = 'svg' | 'png'; /** * Renders mermaid diagram text to an SVG string using * the `beautiful-mermaid` library. No external process * is spawned — everything runs in-process. * @returns {string} The SVG markup as a string. */ export declare const renderMermaidSvg: (mermaidText: string) => string; /** * Renders mermaid diagram text to an SVG file. * Uses `beautiful-mermaid` in-process, then writes * the result to a temp directory. * @returns {Promise} The file path of the generated SVG. */ export declare const renderMermaidToFile: (mermaidText: string) => Promise; /** * Renders mermaid diagram text to a PNG file. * Uses `beautiful-mermaid` for SVG, then `@resvg/resvg-wasm` * to convert SVG to PNG. Writes to a temp directory. * @returns {Promise} The file path of the generated PNG. */ export declare const renderMermaidToPng: (mermaidText: string) => Promise;