import React from "react"; /** * Props for `ImageResizeDialog` component. */ export type ImageResizeDialogProps = { /** Whether the dialog is open. */ open: boolean; /** Called when the dialog should close (user cancels or saves). */ onClose: () => void; /** The image URL to be resized/cropped. */ imageUrl: string; /** Called when the user confirms the crop. Receives the cropped image as a File. */ onCropComplete: (croppedImage: File) => void; /** Original file name for the cropped output. */ fileName?: string; }; /** * A dialog component that allows users to crop/resize an image to a square aspect ratio. * Uses react-easy-crop for the cropping functionality. */ export declare const ImageResizeDialog: React.FC;