import { EditorState, Plugin, PluginKey } from 'prosemirror-state';
import { EditorView } from 'prosemirror-view';
import { PMPluginFactoryParams } from '../../../types';
import { CardPluginState, Request } from '../types';
export declare const pluginKey: PluginKey<any>;
export declare const getPluginState: (editorState: EditorState) => CardPluginState;
export declare const resolveWithProvider: (view: EditorView, outstandingRequests: any, provider: any, request: Request) => void;
export declare const createPlugin: ({ portalProviderAPI, providerFactory, }: PMPluginFactoryParams) => Plugin<any>;
