import { DOMConversionMap, DOMExportOutput, DecoratorNode, EditorConfig, LexicalEditor, LexicalNode, LexicalUpdateJSON, NodeKey, SerializedLexicalNode, Spread } from "lexical"; type SerializedSchemaNode = Spread<{ payload?: unknown; schemaType: string; title: string; url: string; }, SerializedLexicalNode>; declare class SchemaNode extends DecoratorNode { __url: string; __schemaType: string; __payload: unknown; __title: string; static getType(): string; static clone(node: SchemaNode): SchemaNode; static importJSON(serializedNode: SerializedSchemaNode): SchemaNode; static importDOM(): DOMConversionMap | null; constructor(url: string, schemaType?: string, payload?: unknown, title?: string, key?: NodeKey); createDOM(config: EditorConfig, editor: LexicalEditor): HTMLElement; updateDOM(): false; exportDOM(): DOMExportOutput; exportJSON(): SerializedSchemaNode; updateFromJSON(serializedNode: LexicalUpdateJSON): this; getTextContent(): string; getURL(): string; setURL(url: string): this; getSchemaType(): string; setSchemaType(schemaType?: string): this; getPayload(): unknown; setPayload(payload: unknown): this; getTitle(): string; setTitle(title?: string): this; decorate(editor: LexicalEditor): unknown; } export { SchemaNode, SerializedSchemaNode };