import { AppEventContext } from "@/app";
import { SyntaxParseResult } from "@/parse-engine/SyntaxParseResult";
import { AbsMermaidParser } from "@/parse-engine/mermaid/AbsMermaidParser";
export declare class MermaidParseEngine {
    type: string;
    private initialized;
    private mermaidInstance;
    private static instance;
    static getInstance(): MermaidParseEngine;
    syntaxEngines: Map<string, AbsMermaidParser>;
    constructor();
    registerSyntaxEngine(engine: AbsMermaidParser): void;
    syntaxParse(data: any, ctx: AppEventContext): Promise<SyntaxParseResult>;
    detectType(data: string): Promise<string>;
    getDiagram(data: string): Promise<import("mermaid/dist/Diagram.js").Diagram>;
    private loadMermaid;
}
//# sourceMappingURL=MermaidParseEngine.d.ts.map