/// /** * This is a 1:1 port of VPinball's lzwreader which is used to decompress * bitmaps. * * @see https://github.com/vpinball/vpinball/blob/master/media/lzwreader.cpp */ export declare class LzwReader { private pstm; private readonly pbBitsOutCur; private readonly cbStride; private badCodeCount; private currSize; private clear; private ending; private newCodes; private topSlot; private slot; private numAvailBytes; private numBitsLeft; private b1; private byteBuff; private pBytes; private stack; private suffix; private prefix; private readonly width; private readonly height; private linesLeft; constructor(pstm: Buffer, width: number, height: number, pitch: number); decompress(): [Buffer, number]; private initExp; private NextLine; private getNextCode; private getByte; }