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