export default class ImageData { readonly data: Uint8ClampedArray; readonly width: number; readonly height: number; constructor(data: Uint8ClampedArray, width: number, height: number) { this.data = data; this.width = width; this.height = height; } }