import { Crop as ICrop } from 'react-image-crop'; interface IProps { image: HTMLImageElement; crop: ICrop; imgName?: string; canvas?: HTMLCanvasElement; scale?: number; rotate?: number; } export declare function canvasPreview(params: IProps): Promise; export declare function getImgBlobData(params: IProps): Promise<{ url: string | undefined; file: File | undefined; }>; export {};