import { type ParseResult } from "../types.js"; /** * Parses a `.mmd` text: directives, the `stateDiagram-v2` subset, transition * labels, name resolution and the syntax of every body. Throws * `StatechartParseError` on the first problem. */ export declare function parse(text: string): ParseResult;