/**
 * https://www.hacksoft.io/blog/handle-images-cors-error-in-chrome
 * https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
 * @Note avoidCache is a helper variable solving the
 * @param url url of the image upload or read
 * @param avoidCache helper variable in order to avoid cors on server
 * @returns
 */
export declare const createImage: (url: any) => Promise<any>;
export declare function getRadianAngle(degreeValue: number): number;
/**
 * Returns the new bounding area of a rotated rectangle.
 */
export declare const rotateSize: (width: any, height: any, rotation: any) => {
    width: number;
    height: number;
};
/**
 * https://www.hacksoft.io/blog/handle-images-cors-error-in-chrome
 * https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
 * @Note avoidCache is a helper variable solving the
 * @param avoidCache helper variable in order to avoid cors on server
 * @returns
 * This function was adapted from the one in the ReadMe of https://github.com/DominicTobias/react-image-crop
 */
export declare const getCroppedImg: (imageSrc: any, pixelCrop: any, rotation?: number, avoidCache?: boolean, flip?: {
    horizontal: boolean;
    vertical: boolean;
}) => Promise<unknown>;
