import { Bytes, BytesType } from "../chain/Bytes.js";
/** Options for bounded zlib decompression. */
export interface InflateZlibBytesOptions {
    /** Maximum allowed decompressed byte length. */
    maxInflatedBytes: number;
    /** Whether the compressed input omits the zlib header. */
    raw?: boolean;
    /** Lowercase payload name used in decompression error messages. */
    context: string;
}
/** Constants used while inflating zlib-compressed bytes. */
export declare namespace ZlibCompression {
    /** Output chunk size used by the streaming zlib inflater. */
    const InflateChunkSizeBytes = 65536;
}
/** Inflate zlib-compressed bytes with a decompressed-size cap. */
export declare function inflateZlibBytes(compressedBytes: BytesType, options: InflateZlibBytesOptions): Bytes;
//# sourceMappingURL=ZlibCompression.d.ts.map