declare enum BufferType { BLOCK = 0, ADAPTIVE = 1 } interface IParams { index: number; bufferSize: number; bufferType: number; resize: boolean; } export declare class RawInflate { buffer: Uint8Array; blocks: Uint8Array[]; bufferSize: number; totalpos: number; ip: number; bitsbuf: number; bitsbuflen: number; input: Uint8Array; output: Uint8Array; op: number; bfinal: boolean; bufferType: BufferType; resize: boolean; currentLitlenTable: Uint16Array; constructor(input: ArrayBuffer, opt_params?: IParams); decompress(): Uint8Array; parseBlock(): void; readBits(length: number): any; readCodeByTable(table: Array | Uint8Array | Uint16Array): number; parseUncompressedBlock(): void; parseFixedHuffmanBlock(): void; parseDynamicHuffmanBlock(): void; decodeHuffmanBlock(litlen: Uint16Array, dist: Array | Uint8Array | Uint16Array): void; decodeHuffmanAdaptive(litlen: Uint16Array, dist: Array | Uint8Array | Uint16Array): void; expandBufferBlock(): Uint8Array; expandBufferAdaptive(opt_param?: { [key: string]: number; }): Uint8Array; concatBufferBlock(): Uint8Array; concatBufferDynamic(): Uint8Array; } export {};