declare function _renderImageOnCanvas(data: any, formattype: any, rerendercallable: any): void;