/** * Minimal ZIP container reader/writer — just enough to read/write the OOXML * (.xlsx) package format. No external zip dependency: uses node:zlib's raw * deflate/inflate directly, and implements the ZIP local-file-header / central * directory / EOCD structures by hand. Not a general-purpose zip library — * scoped deliberately to what XLSX needs (STORED or DEFLATE, no encryption, * no zip64, no multi-disk archives). */ export interface ZipEntry { name: string; data: Buffer; } export declare function writeZip(entries: ZipEntry[]): Buffer; export interface ReadZipOptions { /** Refuse to decompress a single entry larger than this (bytes). Defaults to 200MB. */ maxEntrySize?: number; /** Refuse an archive whose total decompressed size exceeds this (bytes). Defaults to 500MB. */ maxTotalSize?: number; /** Refuse an archive declaring more than this many entries. Defaults to 10,000. */ maxEntries?: number; } export declare function readZip(buf: Buffer, opts?: ReadZipOptions): ZipEntry[];