///
import { CropperImage } from 'advanced-cropper';
export interface CropperImageHookSettings {
src?: string | null;
onLoadingStart?: () => void;
onLoadingEnd?: () => void;
onError?: () => void;
onLoad?: (image?: CropperImage) => void;
crossOrigin?: 'anonymous' | 'use-credentials' | boolean;
checkOrientation?: boolean;
canvas?: string | boolean;
unloadTime?: number;
}
export declare function useCropperImage(options: CropperImageHookSettings): {
isLoading(): boolean;
isLoaded(): boolean;
getImage(): CropperImage | null;
setImage: import("react").Dispatch>;
};