import type { Extension } from '@prezly/slate-commons'; import type { ImageNode } from '@prezly/slate-types'; import type { SlateEditor } from '@udecode/plate-common'; import type { ImageExtensionConfiguration } from './types'; interface Parameters extends ImageExtensionConfiguration { onCrop?: (editor: SlateEditor, original: ImageNode) => void; onCropped?: (editor: SlateEditor, updated: ImageNode) => void; onRemoved?: (editor: SlateEditor, element: ImageNode) => void; onReplace?: (editor: SlateEditor, original: ImageNode) => void; onReplaced?: (editor: SlateEditor, updated: ImageNode) => void; } export declare const EXTENSION_ID = "ImageExtension"; export declare const ImageExtension: ({ onCrop, onCropped, onRemoved, onReplace, onReplaced, withAlignmentOptions, withCaptions, withLayoutOptions, withMediaGalleryTab, withNewTabOption, withSizeOptions, }: Parameters) => Extension; export {};