import type { Attrs, NodeSpec, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
import type { AnnotationMarkDefinition } from '../marks/annotation';
export declare enum USER_TYPES {
    DEFAULT = "DEFAULT",
    SPECIAL = "SPECIAL",
    APP = "APP"
}
export type UserType = keyof typeof USER_TYPES;
export interface MentionAttributes {
    accessLevel?: string;
    id: string;
    localId?: string;
    text?: string;
    userType?: UserType;
}
/**
 * @name mention_node
 */
export interface MentionDefinition {
    attrs: MentionAttributes;
    /**
     // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
     * @stage 0
     */
    marks?: Array<AnnotationMarkDefinition>;
    type: 'mention';
}
export declare const mention: NodeSpec;
export declare const toJSON: (node: PMNode) => {
    attrs: Attrs;
};
