import type mermaid from 'mermaid';
export type MermaidModule = typeof mermaid;
export type MermaidLoader = () => Promise<{
    default: MermaidModule;
}>;
export interface MermaidConfiguration {
    enabled?: boolean;
    loader?: MermaidLoader;
}
export declare function configureMermaid({ enabled, loader }?: MermaidConfiguration): void;
export declare function getMermaid(): Promise<MermaidModule | null>;
export declare function isMermaidEnabled(): boolean;
