/** * State Diagram Parser * * Parses Mermaid state diagram syntax into an AST using the vendored JISON parser. * The JISON parser calls methods on a `yy` object - we provide our own implementation * that builds an AST instead of mermaid's internal db structure. */ import { type StateDiagramAST } from '../types/state.js'; /** * Parse a state diagram string into an AST */ export declare function parseStateDiagram(input: string): StateDiagramAST; /** * Detect if input is a state diagram */ export declare function isStateDiagram(input: string): boolean; //# sourceMappingURL=state-parser.d.ts.map