import { DOMConversionMap, DOMExportOutput, DecoratorNode, EditorConfig, LexicalEditor, LexicalNode, LexicalUpdateJSON, NodeKey, SerializedLexicalNode, Spread } from "lexical"; type SerializedLinkCardNode = Spread<{ description: string; icon: string; openTarget: null | string; title: string; url: string; }, SerializedLexicalNode>; declare class LinkCardNode extends DecoratorNode { __url: string; __title: string; __icon: string; __description: string; __openTarget: null | string; static getType(): string; static clone(node: LinkCardNode): LinkCardNode; static importJSON(serializedNode: SerializedLinkCardNode): LinkCardNode; static importDOM(): DOMConversionMap | null; constructor(url: string, title?: string, icon?: string, description?: string, openTarget?: null | string, key?: NodeKey); createDOM(config: EditorConfig, editor: LexicalEditor): HTMLElement; updateDOM(): false; isInline(): boolean; isKeyboardSelectable(): true; exportDOM(): DOMExportOutput; exportJSON(): SerializedLinkCardNode; updateFromJSON(serializedNode: LexicalUpdateJSON): this; getTextContent(): string; getURL(): string; setURL(url: string): this; getTitle(): string; setTitle(title?: string): this; getIcon(): string; setIcon(icon?: string): this; getDescription(): string; setDescription(description?: string): this; getOpenTarget(): null | string; setOpenTarget(openTarget?: null | string): this; decorate(editor: LexicalEditor): unknown; } export { LinkCardNode, SerializedLinkCardNode };