/** * Minimal glue for the lzxd WebAssembly module. Mirrors the wasm-bindgen * exports of lzxd 0.1.5 (https://github.com/Lonami/lzxd) while being * self-contained (the wasm binary is embedded as base64). */ export declare enum WindowSize { KB32 = 32768, KB64 = 65536, KB128 = 131072, KB256 = 262144, KB512 = 524288, MB1 = 1048576, MB2 = 2097152, MB4 = 4194304, MB8 = 8388608, MB16 = 16777216, MB32 = 33554432 } export declare class Lzxd { private readonly wasm; private ptr; private constructor(); static create(windowSize: number): Promise; free(): void; /** Decompresses the next compressed chunk. */ decompressNext(chunk: Uint8Array): Uint8Array; }