import type { MindMapPlugin } from "./types"; export declare function initKatex(): Promise; /** Get KaTeX module synchronously (returns null if not yet loaded) */ export declare function getKatexSync(): any; /** Whether KaTeX loading has completed (success or failure) */ export declare function isKatexReady(): boolean; /** Register a callback for when KaTeX becomes available */ export declare function onKatexReady(cb: () => void): void; export declare function loadKatexStyle(): void; /** * Render a LaTeX string to HTML using KaTeX. * Returns null if KaTeX is not loaded yet. */ export declare function renderLatexToHtml(content: string, displayMode: boolean): string | null; /** * Render a LaTeX string to MathML using KaTeX (no CSS dependency). * Returns null if KaTeX is not loaded yet. */ export declare function renderLatexToMathML(content: string, displayMode: boolean): string | null; export declare const latexPlugin: MindMapPlugin;