/** How to run {@link lzwDecodeMsb}: the early-change flag and an output cap. */ export interface LzwOptions { /** * Widen the code one step BEFORE the table fills (PDF `/EarlyChange`, * TIFF's own convention). 1 by default, matching both specifications' norm. */ readonly earlyChange?: number; /** Stop after this many output bytes — the guard against a decompression bomb. */ readonly limit: number; } /** * Decode an MSB-first LZW stream (TIFF 6.0 §13 / ISO 32000-1 §7.4.4.2). The * KwKwK case (a code not yet in the table) repeats the previous string plus its * own first byte. Truncated input ends the stream where it stops rather than * throwing: a partly-decoded strip still prints. */ export declare function lzwDecodeMsb(data: Uint8Array, options: LzwOptions): Uint8Array;