/**
 * Node.js compression utilities using native zlib
 *
 * Uses zlib module (C++ implementation, fastest) with "deflate-raw" format
 * (raw DEFLATE without zlib header/trailer, required for ZIP files)
 */
export { type CompressOptions, hasCompressionStream } from "./compress.base.js";
import type { CompressOptions } from "./compress.base.js";
/**
 * Compress data using Node.js native zlib
 *
 * @param data - Data to compress
 * @param options - Compression options
 * @returns Compressed data
 *
 * @example
 * ```ts
 * const data = new TextEncoder().encode("Hello, World!");
 * const compressed = await compress(data, { level: 6 });
 * ```
 */
export declare function compress(data: Uint8Array, options?: CompressOptions): Promise<Uint8Array>;
/**
 * Compress data synchronously using Node.js zlib
 *
 * @param data - Data to compress
 * @param options - Compression options
 * @returns Compressed data
 */
export declare function compressSync(data: Uint8Array, options?: CompressOptions): Uint8Array;
/**
 * Decompress data using Node.js native zlib
 *
 * @param data - Compressed data (deflate-raw format)
 * @returns Decompressed data
 */
export declare function decompress(data: Uint8Array, options?: CompressOptions): Promise<Uint8Array>;
/**
 * Decompress data synchronously using Node.js zlib
 *
 * @param data - Compressed data (deflate-raw format)
 * @returns Decompressed data
 */
export declare function decompressSync(data: Uint8Array): Uint8Array;
