import { IEditorPluginConstructor } from "../../../types/kernel.js"; import "../../../types/index.js"; import { MathBlockNode, MathInlineNode } from "../node/index.js"; import { LexicalEditor } from "lexical"; interface MathPluginOptions { decorator?: (node: MathInlineNode | MathBlockNode, editor: LexicalEditor) => unknown; /** Enable `$...$` shortcuts and Markdown inline-math parsing. Defaults to true. */ enableInlineMath?: boolean; theme?: { mathBlock?: string; mathInline?: string; }; } declare const MathPlugin: IEditorPluginConstructor; export { MathPlugin, MathPluginOptions };