/** * Inline Worker Script Generator * * Generates the worker script code that handles compression/decompression tasks. * Uses native CompressionStream/DecompressionStream when available, * falls back to a pure JS implementation message protocol. */ /** * Generate the inline worker script code * * The worker supports: * - deflate: Compress data using deflate-raw * - inflate: Decompress data using deflate-raw * * It uses native Web Streams API when available, which is significantly faster * than any pure JS implementation. */ export declare function generateWorkerScript(): string; /** * Get or create the worker blob URL (increments reference count) */ export declare function getWorkerBlobUrl(): string; /** * Release the cached worker blob URL (decrements reference count) */ export declare function releaseWorkerBlobUrl(): void;