import { Plugin, PluginKey } from 'prosemirror-state';
import { Dispatch } from '../../event-dispatcher';
import { EditorPlugin } from '../../types';
export declare const pluginKey: PluginKey<any>;
export declare type EditorDisabledPluginState = {
    editorDisabled: boolean;
};
export declare function createPlugin(dispatch: Dispatch<EditorDisabledPluginState>): Plugin | undefined;
declare const editorDisabledPlugin: () => EditorPlugin;
export default editorDisabledPlugin;
