mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-11 16:26:20 +00:00
8 lines
301 B
TypeScript
8 lines
301 B
TypeScript
import { EncodeOptions } from '../../src/codecs/mozjpeg/encoder-meta';
|
|
|
|
interface MozJPEGModule extends EmscriptenWasm.Module {
|
|
encode(data: BufferSource, width: number, height: number, options: EncodeOptions): Uint8Array;
|
|
}
|
|
|
|
export default function(opts: EmscriptenWasm.ModuleOpts): MozJPEGModule;
|