/// import type { KaitaiStream } from 'kaitai-struct'; /** * A processor for decompressing Gzip data. */ declare class InflateGzip { private readonly stream?; private readonly windowBits?; /** * Creates a new inflate processor for the given Kaitai stream. */ constructor(); /** * Creates a new inflate processor for the given Kaitai stream. * @param windowBits The windowBits. */ constructor(windowBits: number); /** * Creates a new inflate processor for the given Kaitai stream. * @param stream The KaitaiStream to inflate. */ constructor(stream: KaitaiStream); /** * Creates a new inflate processor for the given Kaitai stream. * @param stream The KaitaiStream to inflate. * @param windowBits The windowBits. */ constructor(stream: KaitaiStream, windowBits: number); /** * Inflates the Kaitai stream. * @param data The data to inflate. If there is no data and a stream was provided in the constructor, the stream is used instead. * @returns The inflated data. */ decode(data: Uint8Array): Uint8Array; } export = InflateGzip;