declare namespace huffman_d_exports { export { unpack }; } /** * [Huffman][huffman] decompression algorithm used in [Sierra On-line][sierra] [SCI-engine][sci0] games. * * [huffman]: https://en.wikipedia.org/wiki/Huffman_coding * [sierra]: https://en.wikipedia.org/wiki/Sierra_Entertainment * [sci0]: http://sciwiki.sierrahelp.com/index.php/Sierra_Creative_Interpreter * * @param source The compressed bytes. * @returns Decompressed payload. * * @example * * ```ts * import { Huffman } from '@4bitlabs/codecs'; * * const encodedBytes = Uint8Array.of(\/* encoded data *\/); * const bytes = Huffman.unpack(encodedBytes); * ``` */ declare const unpack: (source: Uint8Array | Uint8ClampedArray) => Uint8Array; //#endregion export { huffman_d_exports, unpack }; //# sourceMappingURL=huffman.d.ts.map