import { DOMConversionMap, DOMExportOutput, DecoratorNode, EditorConfig, LexicalEditor, LexicalNode, LexicalUpdateJSON, SerializedLexicalNode, Spread } from "lexical"; type SerializedMathInlineNode = Spread<{ code: string; }, SerializedLexicalNode>; declare class MathInlineNode extends DecoratorNode { static getType(): string; static clone(node: MathInlineNode): MathInlineNode; static importJSON(serializedNode: SerializedMathInlineNode): MathInlineNode; static importDOM(): DOMConversionMap | null; __code: string; constructor(code?: string, key?: string); get code(): string; updateCode(newCode: string): void; exportDOM(): DOMExportOutput; createDOM(config: EditorConfig): HTMLElement; exportJSON(): SerializedMathInlineNode; updateFromJSON(serializedNode: LexicalUpdateJSON): this; getTextContent(): string; isInline(): boolean; updateDOM(): boolean; decorate(editor: LexicalEditor): unknown; } declare class MathBlockNode extends DecoratorNode { static getType(): string; static clone(node: MathBlockNode): MathBlockNode; static importJSON(serializedNode: SerializedMathInlineNode): MathBlockNode; static importDOM(): DOMConversionMap | null; __code: string; constructor(code?: string, key?: string); get code(): string; updateCode(newCode: string): void; exportDOM(): DOMExportOutput; createDOM(config: EditorConfig): HTMLElement; exportJSON(): SerializedMathInlineNode; updateFromJSON(serializedNode: LexicalUpdateJSON): this; getTextContent(): string; isInline(): boolean; updateDOM(): boolean; decorate(editor: LexicalEditor): unknown; } export { MathBlockNode, MathInlineNode, SerializedMathInlineNode };