/** * Check if the image is already resized to the given percentage * @param image The image to check * @param percentage The percentage to check * @param maxError Maximum difference of pixels to still be considered the same size */ export default function isResizedTo(image: HTMLImageElement, percentage: number, maxError?: number): boolean;