/** * covert canvas to image * and save the image file */ declare const Canvas2Image: () => { saveAsImage: (canvas: any, width: any, height: any, type?: any) => void; saveAsPNG: (canvas: any, width: any, height: any) => void; saveAsJPEG: (canvas: any, width: any, height: any) => void; }; export default Canvas2Image;