import { ViewClass } from './view.ts'; import type { OutputFormat } from './render-mermaid.ts'; import type { MermaidOutputGraph } from '@vltpkg/graph'; /** * A ViewClass that renders mermaid output as SVG or PNG * (saved to a temp file and opened). * * Uses `beautiful-mermaid` for SVG rendering and * `@resvg/resvg-wasm` for PNG conversion — no external * process spawning. */ export declare class MermaidImageView extends ViewClass { format: OutputFormat; constructor(...args: ConstructorParameters>); done(result: MermaidOutputGraph, _opts: { time: number; }): Promise; }