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