import { PlateEditor, Value, WithPlatePlugin } from "@udecode/plate-core";
import { ImagePlugin } from "./types";
/**
 * Allows for pasting images from clipboard.
 * Not yet: dragging and dropping images, selecting them through a file system dialog.
 * @param options.type
 * @param options.uploadImage
 */
export declare const withImageUpload: <V extends Value = Value, E extends PlateEditor<V> = PlateEditor<V>>(editor: E, plugin: WithPlatePlugin<ImagePlugin, V, E>) => E;
