/** * Mermaid `flowchart TD` renderer for the visualization IR. * * Output is a self-contained code block — paste it into a markdown * file, GitHub PR description, or mermaid.live and it renders. */ import type { VizNode } from "./ir.js"; export interface MermaidOptions { /** Include tool nodes attached to agents. Defaults to `true`. */ showTools?: boolean; /** Include sub-agent transfer edges. Defaults to `true`. */ showTransfers?: boolean; /** Wrap output in a fenced ```mermaid``` block. Defaults to `false`. */ fenced?: boolean; } /** Render a VizNode tree to a Mermaid `flowchart TD` source string. */ export declare function renderMermaid(node: VizNode, opts?: MermaidOptions): string; //# sourceMappingURL=mermaid.d.ts.map