import { Crop } from 'react-image-crop'; /** * This function was adapted from the one in the ReadMe of https://github.com/DominicTobias/react-image-crop // * @param {HTMLImageElement} image - Image File Object // * @param {Crop} crop - crop Object // * @param {String} fileName - Name of the returned file in Promise */ export declare function getCroppedImg(image: HTMLImageElement, crop: Crop): Promise; export declare function canvasToBlob(canvas: HTMLCanvasElement): Promise; export declare function srcToFile(src: string, fileName: string, mimeType: string): Promise; export declare function getImageSrc(croppedImage: HTMLImageElement, onUpload?: (file: File) => Promise, fileName?: string): Promise;