import { Plugin, PluginKey } from 'prosemirror-state';
import { EditorView } from 'prosemirror-view';
import { FileInfo } from '../../../../../global/shared-types/file.types';
import { ImageInserter } from '../../../text-editor.types';
export declare const pluginKey: PluginKey<any>;
type ImagePastedCallback = (data: ImageInserter) => CustomEvent<ImageInserter>;
export declare const createImageInserterPlugin: (imagePastedCallback: ImagePastedCallback) => Plugin<any>;
export declare const imageInserterFactory: (view: EditorView, base64Data: string, fileInfo: FileInfo) => ImageInserter;
export {};
//# sourceMappingURL=inserter.d.ts.map