import { Attribute, Inline, Node, Schema } from '../../prosemirror'; export declare class MentionNodeType extends Inline { constructor(name: string, schema: Schema); readonly attrs: { id: Attribute; displayName: Attribute; }; readonly matchDOMTag: { 'span[mention-id]': (dom: Element) => { id: string; displayName: string; }; }; toDOM(node: Node): [string, any, string]; } export interface MentionNode extends Node { type: MentionNodeType; attrs: { id: string; displayName: string; }; } export declare function isMentionNode(node: Node): node is MentionNode;