MapImageData:
    | HTMLImageElement
    | ArrayBufferView
    | {
        data: Uint8Array | Uint8ClampedArray;
        height: number;
        width: number;
    }
    | ImageData
    | ImageBitmap