/** * @internal * 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 * @param resolveImageSource Optional callback to resolve an image `src` into a canvas-safe URL (e.g., a data URL). * @returns True when we can regenerate the edited image, otherwise false */ export declare function canRegenerateImage(img: HTMLImageElement | null, resolveImageSource?: (src: string) => string | undefined): boolean;