/** * DOM types that are useful for us outside of the DOM. Internal library. * * @private * @ignore * @module */ /** From Typescript dom.ts */ export type PredefinedColorSpace = 'display-p3' | 'srgb'; /** From Typescript dom.ts */ export type ImageDataArray = Uint8ClampedArray; /** From Typescript dom.ts */ export interface ImageData { /** * The read-only **`ImageData.colorSpace`** property is a string indicating the color space of the image data. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageData/colorSpace) */ readonly colorSpace: PredefinedColorSpace; /** * The readonly **`ImageData.data`** property returns a pixel data. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageData/data) */ readonly data: ImageDataArray; /** * The readonly **`ImageData.height`** property returns the number of rows in the ImageData object. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageData/height) */ readonly height: number; /** * The readonly **`ImageData.width`** property returns the number of pixels per row in the ImageData object. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageData/width) */ readonly width: number; } //# sourceMappingURL=dom.d.ts.map