/** * Brotli decompression for lazy-loaded .br files. * When the CDN serves .br with Content-Encoding: br, the browser decompresses * automatically. This helper is for when we fetch .br without that header * (e.g. from a static file server or custom CDN). * * The bundled brotli WASM fallback is loaded at runtime by worker-entry.ts * and injected into LazyFS.customBrotliDecompressor. This module only * provides the native DecompressionStream path for library consumers. */ /** * Decompress Brotli-encoded data. Uses the native DecompressionStream when * available (Chrome 80+, modern browsers). Otherwise falls back to the * injected WASM decompressor (set by worker-entry.ts via LazyFS.customBrotliDecompressor). */ export declare function decompressBrotli(data: Uint8Array): Promise; /** Check if Brotli decompression is supported (DecompressionStream with 'br'). */ export declare function isBrotliSupported(): boolean; //# sourceMappingURL=brotli.d.ts.map