/** * Check if we can regenerate edited image from the source image. * An image can't regenerate result when there is CORS issue of the source content. * @param img The image element to test * @returns True when we can regenerate the edited image, otherwise false */ export default function canRegenerateImage(img: HTMLImageElement): boolean;