export declare class Smaz { readonly codebook: readonly string[]; private readonly compressor; private readonly decompressor; private readonly rawDecompressor; constructor(codebook: readonly string[], maxSize?: number); compress(buffer: string | Uint8Array): Uint8Array; getCompressedSize(buffer: string | Uint8Array): number; decompress(buffer: Uint8Array): string; decompressRaw(buffer: Uint8Array): Uint8Array; } export declare function decompress(array: Uint8Array): string; export declare function decompressRaw(array: Uint8Array): Uint8Array; export declare function compress(buffer: string | Uint8Array): Uint8Array; export declare function getCompressedSize(buffer: string | Uint8Array): number; //# sourceMappingURL=index.d.ts.map