import React from 'react'; import type { DialogProps } from '@mui/material'; import type { CropperProps } from 'react-easy-crop'; import type { ICroppedImage, IMarkItem } from '../types'; import type { ActionsRenderProps } from './ActionsRender'; import type { ToolbarRenderProps } from './ToolbarRender'; import type { TitleRenderProps } from './TitleRender'; export interface CropDialogProps extends Omit, Omit { imageInfo: ICroppedImage; qulity?: number; imageType?: string; showAspectToolbar?: boolean; onAspectChange?: (aspect: number) => void; defaultAspect?: number; aspectMarks: IMarkItem[]; showZoomToolbar?: boolean; zoomStep: number; showRotateToolbar?: boolean; rotateStep: number; zoomLabel?: React.ReactNode; rotateLabel?: React.ReactNode; aspectLabel?: React.ReactNode; allowTouchRotate?: boolean; title?: React.ReactNode; TitleRender?: React.ComponentType; ActionsRender?: React.ComponentType; ToolbarRender?: React.ComponentType; dialogProps?: DialogProps; cropperContainerStyle?: React.CSSProperties; dialogContentRootStyle?: React.CSSProperties; open: boolean; onClose: () => void; onFinish: (value: ICroppedImage) => void | boolean | Promise; onCancel?: () => any | (() => Promise); } export declare const CropDialog: (props: CropDialogProps) => React.JSX.Element;