import { Headers } from '../../../lib/headers/Headers.js';
import { WithImplicitCoercion } from 'buffer';
export interface CompressionOptions {
    aborted?: boolean;
    headers?: Headers;
}
/**
 * Decompresses received body if `content-encoding` header is set.
 * When multiple encodings are present, they are decoded in reverse order
 * (last applied encoding is decoded first).
 */
export declare function decompress(body?: Buffer, options?: CompressionOptions): Promise<Buffer | undefined>;
/**
 * Decompress body with Inflate.
 */
export declare function inflate(body: WithImplicitCoercion<ArrayLike<number>>): Promise<Buffer>;
/**
 * Decompress body with ZLib.
 */
export declare function gunzip(body: WithImplicitCoercion<ArrayLike<number>>): Promise<Buffer>;
/**
 * Decompress Brotli.
 */
export declare function brotli(body: WithImplicitCoercion<ArrayLike<number>>): Promise<Buffer>;
//# sourceMappingURL=CompressionManager.d.ts.map