import type { MermaidConfig } from "@excalidraw/mermaid-to-excalidraw";
import type { ExcalidrawElement } from "@excalidraw/element/types";
import type { MermaidToExcalidrawLibProps } from "./types";
export declare const loadMermaidToExcalidrawLib: () => Promise<MermaidToExcalidrawLibProps>;
export declare const loadMermaidLib: () => Promise<MermaidToExcalidrawLibProps>;
export declare const mermaidToExcalidraw: (mermaidDefinition: string, opts: MermaidConfig) => Promise<{
    elements?: ExcalidrawElement[];
    files?: any;
    error?: string;
} | undefined>;
