export declare function cloneCanvas(canvas: T): HTMLCanvasElement | HTMLImageElement;