import { Coordinates, Dimensions } from 'sigma/types';
type ImageLoading = {
    status: 'loading';
};
type ImageError = {
    status: 'error';
};
type ImagePending = {
    status: 'pending';
    image: HTMLImageElement;
};
type ImageReady = {
    status: 'ready';
} & Coordinates & Dimensions;
export type ImageType = ImageLoading | ImageError | ImagePending | ImageReady;
export declare const clearCrossOriginForCORSIfNotSameOrigin: (img: HTMLImageElement, url: string) => void;
export {};
