import { type CroppedImage } from "@prismicio/types-internal/lib/content"; import { type ReactNode } from "react"; import type { CropperImage } from "../../../core/imageUtils"; interface CropperDialogProps { trigger: React.ReactNode; /** Flattened list of all thumbnails in the field */ initialImages: CropperImage[]; /** Index of the initial image displayed in the cropper */ initialOption: number; onClose: (result: { croppedImages: CroppedImages; option: number; }) => void; renderTooltip: (trigger: ReactNode) => ReactNode; } export declare function CropperDialog(props: CropperDialogProps): JSX.Element; export type CroppedImages = Record; export {};