import type { Action, ExtensionAuto } from "../../../core/index.js";
import { type MathNodeViewOptions } from "./view-and-edit.js";
import "./index.css";
export { MathNode, mathBType, mathIType } from "./MathSpecs/index.js";
export { MathBlockNodeView, MathInlineNodeView } from "./view-and-edit.js";
export { isLatexMode, parseLatexFormulas } from "./utils.js";
declare const mathIAction = "addMathInline";
declare const mathBAction = "toMathBlock";
/** @deprecated Use LatexExtensionOptions from `@gravity-ui/markdown-editor-latex-extension` */
export type MathOptions = Pick<MathNodeViewOptions, 'loadRuntimeScript' | 'sanitize' | 'katexOptions'>;
/** @deprecated Use LatexExtension from `@gravity-ui/markdown-editor-latex-extension` */
export declare const Math: ExtensionAuto<MathOptions>;
declare global {
    namespace WysiwygEditor {
        interface Actions {
            [mathIAction]: Action;
            [mathBAction]: Action;
        }
    }
}
