import React, { MutableRefObject } from 'react';
import Cropper from 'react-easy-crop';
import type { Dispatch, SetStateAction, ForwardedRef } from 'react';
import type { Area } from 'react-easy-crop/types';
import type { ImgCropProps } from './interface';
export type EasyCropHandle = {
    rotateVal: number;
    setZoomVal: Dispatch<SetStateAction<number>>;
    setRotateVal: Dispatch<SetStateAction<number>>;
    cropPixelsRef: MutableRefObject<Area>;
};
interface EasyCropProps extends Required<Pick<ImgCropProps, 'aspect' | 'shape' | 'grid' | 'zoom' | 'rotate' | 'minZoom' | 'maxZoom' | 'cropperProps' | 'fixedCropSize'>> {
    cropperRef: ForwardedRef<Cropper>;
    image: string;
}
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<EasyCropProps & React.RefAttributes<EasyCropHandle>>>;
export default _default;
