import { ExtensionHandlers, ProviderFactory } from '@uidu/editor-common';
import { Plugin } from 'prosemirror-state';
import { Dispatch } from '../../event-dispatcher';
import { PortalProviderAPI } from '../../ui/PortalProvider';
import { createCommand, getPluginState } from './plugin-factory';
import { pluginKey } from './plugin-key';
declare const createPlugin: (dispatch: Dispatch, providerFactory: ProviderFactory, extensionHandlers: ExtensionHandlers, portalProviderAPI: PortalProviderAPI) => Plugin<import("./types").ExtensionState>;
export { pluginKey, createPlugin, createCommand, getPluginState };
