import IntTypes from './int-types.js'; import FloatTypes from './float-types.js'; import PixelTypes from './pixel-types.js'; declare class ImageType { readonly dimension: number; readonly componentType: typeof IntTypes[keyof typeof IntTypes] | typeof FloatTypes[keyof typeof FloatTypes]; readonly pixelType: typeof PixelTypes[keyof typeof PixelTypes]; readonly components: number; constructor(dimension?: number, componentType?: typeof IntTypes[keyof typeof IntTypes] | typeof FloatTypes[keyof typeof FloatTypes], pixelType?: typeof PixelTypes[keyof typeof PixelTypes], components?: number); } export default ImageType;