UNPKG

mermaid

Version:

Markdown-ish syntax for generating flowcharts, mindmaps, sequence diagrams, class diagrams, gantt charts, git graphs and more.

12 lines (11 loc) 403 B
import type { CstNode, CstParser, Lexer } from 'chevrotain'; interface ChevrotainParseConfig { diagramType: string; lexer: Lexer; parser: CstParser; entry: () => CstNode; visit: (cst: CstNode) => void; } /** Runs a singleton lexer/parser pair and visits the resulting CST. */ export declare function runChevrotainParse(config: ChevrotainParseConfig, input: string): void; export {};