/** Whether the bytes start with the gzip magic number. */
export declare function isGzip(bytes: Uint8Array): boolean;
export declare function gzip(bytes: Uint8Array): Promise<Uint8Array<ArrayBuffer>>;
export declare function gunzip(bytes: Uint8Array): Promise<Uint8Array<ArrayBuffer>>;
/** Decompress when the bytes are gzip (by magic number), otherwise return them unchanged. */
export declare function gunzipIfCompressed(bytes: Uint8Array): Promise<Uint8Array>;
//# sourceMappingURL=gzip.d.ts.map