import { Position, SubGraph, Vertex } from "../interfaces.js"; import type { FlowDB } from "mermaid/dist/diagrams/flowchart/flowDb.js"; export interface Flowchart { type: "flowchart"; subGraphs: SubGraph[]; vertices: { [key: string]: Vertex | undefined; }; edges: Edge[]; } export interface Edge { id?: string; start: string; end: string; type?: string; text: string; labelType: string; stroke?: string; startX: number; startY: number; endX: number; endY: number; reflectionPoints: Position[]; } export declare const parseMermaidFlowChartDiagram: (db: FlowDB, containerEl: Element) => Flowchart;