import { MentionDescription, MentionProvider } from '@uidu/mentions';
import { EditorState, PluginKey } from 'prosemirror-state';
import { Command, EditorPlugin } from "../../types/index.js";
import { MentionPluginOptions, MentionPluginState } from "./types.js";
declare const mentionsPlugin: (options?: MentionPluginOptions) => EditorPlugin;
export default mentionsPlugin;
/**
 * Actions
 */
export declare const ACTIONS: {
    SET_PROVIDER: string;
    SET_RESULTS: string;
    SET_CONTEXT: string;
};
export declare const setProvider: (provider: MentionProvider | undefined) => Command;
export declare const setResults: (results: MentionDescription[]) => Command;
/**
 *
 * ProseMirror Plugin
 *
 */
export declare const mentionPluginKey: PluginKey<any>;
export declare function getMentionPluginState(state: EditorState): MentionPluginState;
