export { imageEncode, imageDecode, MimeType }; import { NdArray } from 'ndarray'; declare function imageDecode(blob: Blob): Promise>; declare function imageEncode(imageTensor: NdArray, quality?: number, type?: string): Promise; declare class MimeType { type: string; params: Record; private constructor(); toString(): string; static create(type: any, params: Record): MimeType; isIdentical(other: MimeType): Boolean; isEqual(other: MimeType): Boolean; static fromString(mimeType: string): MimeType; } //# sourceMappingURL=codecs.d.ts.map