import { TextNode, type EditorConfig, type LexicalNode, type NodeKey, type SerializedTextNode, type Spread } from "lexical"; export type SerializedMentionNode = Spread<{ userID: string; isAtAll: boolean; }, SerializedTextNode>; export declare class MentionNode extends TextNode { __userID: string; __isAtAll: boolean; static getType(): string; static clone(node: MentionNode): MentionNode; constructor(userID: string, isAtAll: boolean, text: string, key?: NodeKey); createDOM(config: EditorConfig): HTMLElement; static importJSON(serializedNode: SerializedMentionNode): MentionNode; exportJSON(): SerializedMentionNode; canInsertTextBefore(): boolean; isTextEntity(): true; } export declare function $createMentionNode(userID: string, isAtAll: boolean, displayText: string): MentionNode; export declare function $isMentionNode(node: LexicalNode | null | undefined): node is MentionNode; export declare function $getMentionedUserIDs(root: LexicalNode): Set; //# sourceMappingURL=MentionNode.d.ts.map