import { DecoratorNode } from "lexical"; interface SpellErrorNodeProps { errorText: string; replacements: string[]; } export declare class SpellErrorNode extends DecoratorNode { __errorText: string; __replacements: string[]; static getType(): string; static clone(node: SpellErrorNode): SpellErrorNode; constructor(errorText: string, replacements: string[], key?: string); createDOM(): HTMLElement; updateDOM(): boolean; decorate(): any; exportJSON(): any; static importJSON(serializedNode: any): SpellErrorNode; toCodoxNode(): { type: string; errorText: string; replacements: string[]; }; static fromCodoxNode(data: any): { type: string; version: number; errorText: any; replacements: any; }; } export {};