/// <reference types="react" />
import { PureComponent } from 'react';
import { EditorView, PluginKey } from '../../prosemirror';
export interface Props {
    editorView?: EditorView;
    pluginKey: PluginKey;
}
export interface State {
    disabled: boolean;
}
export default class ToolbarMention extends PureComponent<Props, State> {
    state: State;
    private pluginState?;
    componentWillMount(): void;
    componentWillUpdate(nextProps: Props): void;
    componentWillUnmount(): void;
    render(): JSX.Element | null;
    private setPluginState(props);
    private handlePluginStateChange;
    private handleInsertMention;
}
