export default class ImgUtils { static load(src: string): Promise; } /** * Creates a new canvas, crops and enlarges an existing canvas, draws the cropped and enlarged image onto the new canvas, * and returns the data URL of the new canvas. * * @param {HTMLCanvasElement} canvas - The original canvas to be cropped and enlarged * @param {number} width - The width of the area to be cropped from the center of the original canvas * @param {number} height - The height of the area to be cropped from the center of the original canvas * @param {number} scale - The amount by which to enlarge the cropped area * @returns {string} - A data URL of the cropped and enlarged image */ declare const cropAndEnlarge: (canvas: HTMLCanvasElement, width: number, height: number, scale: number) => string; export { cropAndEnlarge };