/**
 * Node.js zlib module shim
 * Provides basic compression utilities
 */
import { Buffer, Transform } from './stream';
export declare function gzip(buffer: Buffer | string, callback: (error: Error | null, result: Buffer) => void): void;
export declare function gunzip(buffer: Buffer, callback: (error: Error | null, result: Buffer) => void): void;
export declare function deflate(buffer: Buffer | string, callback: (error: Error | null, result: Buffer) => void): void;
export declare function inflate(buffer: Buffer, callback: (error: Error | null, result: Buffer) => void): void;
export declare function deflateRaw(buffer: Buffer | string, callback: (error: Error | null, result: Buffer) => void): void;
export declare function inflateRaw(buffer: Buffer, callback: (error: Error | null, result: Buffer) => void): void;
export declare function brotliCompress(buffer: Buffer | string, options: unknown, callback: (error: Error | null, result: Buffer) => void): void;
export declare function brotliDecompress(buffer: Buffer, options: unknown, callback: (error: Error | null, result: Buffer) => void): void;
export declare function brotliCompressSync(buffer: Buffer | string, _options?: unknown): Buffer;
export declare function brotliDecompressSync(buffer: Buffer, _options?: unknown): Buffer;
export declare function gzipSync(buffer: Buffer | string): Buffer;
export declare function gunzipSync(buffer: Buffer): Buffer;
export declare function deflateSync(buffer: Buffer | string): Buffer;
export declare function inflateSync(buffer: Buffer): Buffer;
export declare function deflateRawSync(buffer: Buffer | string): Buffer;
export declare function inflateRawSync(buffer: Buffer): Buffer;
export declare function createGzip(_options?: unknown): Transform;
export declare function createGunzip(_options?: unknown): Transform;
export declare function createDeflate(_options?: unknown): Transform;
export declare function createInflate(_options?: unknown): Transform;
export declare function createDeflateRaw(_options?: unknown): Transform;
export declare function createInflateRaw(_options?: unknown): Transform;
export declare function createBrotliCompress(_options?: unknown): Transform;
export declare function createBrotliDecompress(_options?: unknown): Transform;
export declare function createUnzip(_options?: unknown): Transform;
export declare const constants: {
    Z_NO_FLUSH: number;
    Z_PARTIAL_FLUSH: number;
    Z_SYNC_FLUSH: number;
    Z_FULL_FLUSH: number;
    Z_FINISH: number;
    Z_BLOCK: number;
    Z_OK: number;
    Z_STREAM_END: number;
    Z_NEED_DICT: number;
    Z_ERRNO: number;
    Z_STREAM_ERROR: number;
    Z_DATA_ERROR: number;
    Z_MEM_ERROR: number;
    Z_BUF_ERROR: number;
    Z_VERSION_ERROR: number;
    Z_NO_COMPRESSION: number;
    Z_BEST_SPEED: number;
    Z_BEST_COMPRESSION: number;
    Z_DEFAULT_COMPRESSION: number;
    Z_FILTERED: number;
    Z_HUFFMAN_ONLY: number;
    Z_RLE: number;
    Z_FIXED: number;
    Z_DEFAULT_STRATEGY: number;
    ZLIB_VERNUM: number;
    Z_MIN_WINDOWBITS: number;
    Z_MAX_WINDOWBITS: number;
    Z_DEFAULT_WINDOWBITS: number;
    Z_MIN_CHUNK: number;
    Z_MAX_CHUNK: number;
    Z_DEFAULT_CHUNK: number;
    Z_MIN_MEMLEVEL: number;
    Z_MAX_MEMLEVEL: number;
    Z_DEFAULT_MEMLEVEL: number;
    Z_MIN_LEVEL: number;
    Z_MAX_LEVEL: number;
    Z_DEFAULT_LEVEL: number;
    BROTLI_DECODE: number;
    BROTLI_ENCODE: number;
    BROTLI_OPERATION_PROCESS: number;
    BROTLI_OPERATION_FLUSH: number;
    BROTLI_OPERATION_FINISH: number;
    BROTLI_OPERATION_EMIT_METADATA: number;
    BROTLI_PARAM_MODE: number;
    BROTLI_MODE_GENERIC: number;
    BROTLI_MODE_TEXT: number;
    BROTLI_MODE_FONT: number;
    BROTLI_PARAM_QUALITY: number;
    BROTLI_MIN_QUALITY: number;
    BROTLI_MAX_QUALITY: number;
    BROTLI_DEFAULT_QUALITY: number;
    BROTLI_PARAM_LGWIN: number;
    BROTLI_MIN_WINDOW_BITS: number;
    BROTLI_MAX_WINDOW_BITS: number;
    BROTLI_DEFAULT_WINDOW: number;
    BROTLI_PARAM_LGBLOCK: number;
    BROTLI_MIN_INPUT_BLOCK_BITS: number;
    BROTLI_MAX_INPUT_BLOCK_BITS: number;
};
declare const _default: {
    gzip: typeof gzip;
    gunzip: typeof gunzip;
    deflate: typeof deflate;
    inflate: typeof inflate;
    deflateRaw: typeof deflateRaw;
    inflateRaw: typeof inflateRaw;
    gzipSync: typeof gzipSync;
    gunzipSync: typeof gunzipSync;
    deflateSync: typeof deflateSync;
    inflateSync: typeof inflateSync;
    deflateRawSync: typeof deflateRawSync;
    inflateRawSync: typeof inflateRawSync;
    brotliCompress: typeof brotliCompress;
    brotliDecompress: typeof brotliDecompress;
    brotliCompressSync: typeof brotliCompressSync;
    brotliDecompressSync: typeof brotliDecompressSync;
    createGzip: typeof createGzip;
    createGunzip: typeof createGunzip;
    createDeflate: typeof createDeflate;
    createInflate: typeof createInflate;
    createDeflateRaw: typeof createDeflateRaw;
    createInflateRaw: typeof createInflateRaw;
    createBrotliCompress: typeof createBrotliCompress;
    createBrotliDecompress: typeof createBrotliDecompress;
    createUnzip: typeof createUnzip;
    constants: {
        Z_NO_FLUSH: number;
        Z_PARTIAL_FLUSH: number;
        Z_SYNC_FLUSH: number;
        Z_FULL_FLUSH: number;
        Z_FINISH: number;
        Z_BLOCK: number;
        Z_OK: number;
        Z_STREAM_END: number;
        Z_NEED_DICT: number;
        Z_ERRNO: number;
        Z_STREAM_ERROR: number;
        Z_DATA_ERROR: number;
        Z_MEM_ERROR: number;
        Z_BUF_ERROR: number;
        Z_VERSION_ERROR: number;
        Z_NO_COMPRESSION: number;
        Z_BEST_SPEED: number;
        Z_BEST_COMPRESSION: number;
        Z_DEFAULT_COMPRESSION: number;
        Z_FILTERED: number;
        Z_HUFFMAN_ONLY: number;
        Z_RLE: number;
        Z_FIXED: number;
        Z_DEFAULT_STRATEGY: number;
        ZLIB_VERNUM: number;
        Z_MIN_WINDOWBITS: number;
        Z_MAX_WINDOWBITS: number;
        Z_DEFAULT_WINDOWBITS: number;
        Z_MIN_CHUNK: number;
        Z_MAX_CHUNK: number;
        Z_DEFAULT_CHUNK: number;
        Z_MIN_MEMLEVEL: number;
        Z_MAX_MEMLEVEL: number;
        Z_DEFAULT_MEMLEVEL: number;
        Z_MIN_LEVEL: number;
        Z_MAX_LEVEL: number;
        Z_DEFAULT_LEVEL: number;
        BROTLI_DECODE: number;
        BROTLI_ENCODE: number;
        BROTLI_OPERATION_PROCESS: number;
        BROTLI_OPERATION_FLUSH: number;
        BROTLI_OPERATION_FINISH: number;
        BROTLI_OPERATION_EMIT_METADATA: number;
        BROTLI_PARAM_MODE: number;
        BROTLI_MODE_GENERIC: number;
        BROTLI_MODE_TEXT: number;
        BROTLI_MODE_FONT: number;
        BROTLI_PARAM_QUALITY: number;
        BROTLI_MIN_QUALITY: number;
        BROTLI_MAX_QUALITY: number;
        BROTLI_DEFAULT_QUALITY: number;
        BROTLI_PARAM_LGWIN: number;
        BROTLI_MIN_WINDOW_BITS: number;
        BROTLI_MAX_WINDOW_BITS: number;
        BROTLI_DEFAULT_WINDOW: number;
        BROTLI_PARAM_LGBLOCK: number;
        BROTLI_MIN_INPUT_BLOCK_BITS: number;
        BROTLI_MAX_INPUT_BLOCK_BITS: number;
    };
};
export default _default;
//# sourceMappingURL=zlib.d.ts.map