/** * Markdown "anatomy" renderer. * * Produces a structured markdown report that mirrors what an LLM * actually sees when an agent runs: instructions, tools, sub-agents, * guards. Useful for `.explain()` output, README diagrams, and PR * descriptions. */ import type { VizNode } from "./ir.js"; export interface MarkdownOptions { /** Inline a Mermaid diagram at the top of the report. Defaults to `true`. */ includeDiagram?: boolean; /** Heading level for the root node (1-6). Defaults to `2`. */ rootLevel?: number; } /** Render a VizNode tree to a markdown report. */ export declare function renderMarkdown(node: VizNode, opts?: MarkdownOptions): string; //# sourceMappingURL=markdown.d.ts.map