import { AbsMermaidParser } from "@/parse-engine/mermaid/AbsMermaidParser";
import { AppEventContext } from "@/app";
import { SyntaxParseResult } from "@/parse-engine/SyntaxParseResult";
import { DAGLayoutEngine } from "@/parse-engine/mermaid/layout-engine/DAGLayoutEngine";
export declare class MermaidFlowChartParser extends AbsMermaidParser {
    type: string;
    layoutEngine: DAGLayoutEngine;
    syntaxParse(diagram: any, ctx: AppEventContext): Promise<SyntaxParseResult>;
    /**
     * 将 FlowChartInfo 转换为 NodeInfo[]
     * 自动布局：按拓扑排序分层，同层水平排列，层间垂直排列
     */
    private convertFlowChartToNodes;
    private convertToFlowChartData;
}
//# sourceMappingURL=MermaidFlowChartParser.d.ts.map