import { SliderProps } from '../../elements/slider/types';
type ElementsCanvas = {
    canvas: HTMLCanvasElement;
    canvasScaled: HTMLCanvasElement;
};
type CropObjectFeet = 'contain' | 'horizontal-cover' | 'vertical-cover';
type CropShape = 'rect' | 'round';
import './ImageCrop.scss';
export interface ImageCropProps {
    imageUrl: string;
    locale?: string;
    enableCrop?: boolean;
    enableZoom?: boolean;
    enableRotate?: boolean;
    zoomOptions?: SliderProps;
    rotateOptions?: SliderProps;
    showGrid?: boolean;
    avoidCacheLoad?: boolean;
    cropAspect?: number;
    objectFit?: CropObjectFeet;
    cropShape?: CropShape;
    onSave?: (e?: ElementsCanvas | any) => ElementsCanvas | any;
    onDiscard?: () => any;
    cropperClass?: string;
    actionMode?: ActionMode | undefined;
}
type ActionMode = 'crop' | 'rotate' | 'zoom';
declare const ImageCrop: ({ imageUrl, enableZoom, zoomOptions, enableRotate, rotateOptions, enableCrop, showGrid, avoidCacheLoad, cropAspect, objectFit, cropShape, onSave, onDiscard, cropperClass, locale, actionMode, }: ImageCropProps) => import("react/jsx-runtime").JSX.Element;
export default ImageCrop;
