import type { Format } from './index.js';
declare global {
    /** Expose a decompressionPolyfill */
    var decompressionPolyfill: undefined | ((data: Uint8Array, format?: Format) => Uint8Array);
}
/**
 * A Browser compatible Gzip decompression function
 * @param bytes - the data to decompress
 * @param format - the format of the data. Defaults to 'gzip'
 * @returns - the decompressed data
 */
export declare function decompressStream(bytes: Uint8Array, format?: Format): Promise<Uint8Array>;
