import type { ImageNode } from '@prezly/slate-types'; import React from 'react'; export declare enum Size { SMALL = "small", BEST_FIT = "best-fit", ORIGINAL = "original" } export interface FormState { align: ImageNode['align']; href: ImageNode['href']; layout: ImageNode['layout']; new_tab: ImageNode['new_tab']; size: Size | undefined; } interface Props { onChange: (props: Partial) => void; onCrop: () => void; onRemove: () => void; onReplace: () => void; value: FormState; withAlignmentOptions: boolean; withSizeOptions: boolean | Size[]; withLayoutOptions: boolean; withNewTabOption: boolean; } export declare function ImageMenu({ onChange, onCrop, onRemove, onReplace, value, withAlignmentOptions, withSizeOptions, withLayoutOptions, withNewTabOption, }: Props): React.JSX.Element; export {};