import { type DecompressionLimitsInput } from './decompression-guard'; import type { ZipArchive } from './reader'; /** * Open a buffered xlsx archive in random-access mode. The archive bytes stay * resident; entries inflate on demand inside `read(path)`. * * Falls back to `fflate.unzipSync` when the central directory uses ZIP64 * sentinel values (entry count == 0xFFFF or any size field == 0xFFFFFFFF) so * external ZIP64 archives still load. xlsx files in the wild fit comfortably in * ZIP32; the fallback exists for safety. * * `decompressionLimits` opts the archive into the zip-bomb safeguards * documented on {@link DecompressionLimits}; pass `false` to disable. Defaults * fit any legitimate xlsx. */ export declare function openRandomAccessArchive(bytes: Uint8Array, decompressionLimits?: DecompressionLimitsInput): ZipArchive;