import { type TransformRect } from '@riverbankcms/media-core';
import type { MediaHotspot, MediaValue } from './types';
export type CropDialogProps = {
    value: MediaValue | undefined;
    open: boolean;
    onOpenChange: (open: boolean) => void;
    aspect?: number;
    minSourceWidth?: number;
    minSourceHeight?: number;
    mode?: 'dialog' | 'inline';
    onSubmit: (rect: TransformRect | undefined, hotspot: MediaHotspot | undefined, rotation: 0 | 90 | 180 | 270 | undefined) => void;
};
export declare const CropDialog: ({ value, open, onOpenChange, aspect, minSourceWidth, minSourceHeight, mode, onSubmit, }: CropDialogProps) => import("react/jsx-runtime").JSX.Element | null;
