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