mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-14 09:39:15 +00:00
13 lines
248 B
TypeScript
13 lines
248 B
TypeScript
interface RawImage {
|
|
buffer: Uint8Array;
|
|
width: number;
|
|
height: number;
|
|
}
|
|
|
|
interface AVIFModule extends EmscriptenWasm.Module {
|
|
decode(data: BufferSource): RawImage;
|
|
}
|
|
|
|
export default function(opts: EmscriptenWasm.ModuleOpts): AVIFModule;
|
|
|