export declare class SmazDecompress { private readonly codebook; constructor(codebook: readonly string[]); decompress(arr: Uint8Array): string; } export declare class SmazDecompressRaw { private readonly codebook; /** * Initialize `SmazDecompressRaw` with a codebook with strings. * We use `TextEncoder` which encodes into utf8 to handle unicode characters such as '🥳'. * If you rely on a different encoding, you should pass encoded codebook to constructor * we don't distinguish the codebook chunk of the output from `decompress` method. * If you mix other encodings in the buffer while relying on this method, you need to * detect utf8 signatures and handle them separately, which is also not guaranteed. */ static fromStringCodebook(codebook: readonly string[]): SmazDecompressRaw; constructor(codebook: readonly Uint8Array[]); decompress(arr: Uint8Array): Uint8Array; } //# sourceMappingURL=index.d.ts.map