import type { GraphIR } from "./graph-ir.js"; /** * Render the graph IR as a Mermaid `flowchart`. Mermaid is the zero-install * default — it renders in GitHub, docs, and browsers with no native dependency, * so `chant graph --format mermaid` gives a diagram out of the box without the * standalone painter. Lower fidelity than a custom painter, but portable. * * Consumes whatever IR it is given, so it honours `--detail` and `--lens` for * free (those are IR → IR transforms). See issue #496 / epic #492. * * Known limits: Mermaid owns layout, so there is little control over node * placement, and very large graphs get hard to read — that is the trade-off for * zero-install portability. Reach for the graphviz/custom-painter path (#497, * pinhole) when fidelity matters. */ export declare function toMermaid(ir: GraphIR): string; //# sourceMappingURL=graph-mermaid.d.ts.map