export { imageDecode, imageEncode, tensorResizeBilinear, tensorHWCtoBCHW, calculateProportionalSize, imageSourceToImageData, ImageSource, convertFloat32ToUint8 }; import { Config } from './schema'; import { NdArray } from 'ndarray'; import { imageDecode, imageEncode } from './codecs'; type ImageSource = ArrayBuffer | Uint8Array | Blob | URL | string | NdArray; declare function tensorResizeBilinear(imageTensor: NdArray, newWidth: number, newHeight: number): NdArray; declare function tensorHWCtoBCHW(imageTensor: NdArray, mean?: number[], std?: number[]): NdArray; declare function calculateProportionalSize(originalWidth: number, originalHeight: number, maxWidth: number, maxHeight: number): [number, number]; declare function imageSourceToImageData(image: ImageSource, _: Config): Promise>; declare function convertFloat32ToUint8(float32Array: NdArray): NdArray; //# sourceMappingURL=utils.d.ts.map