export interface ZipEntry { /** POSIX-style archive path, e.g. "assets/app.js". */ name: string; /** File bytes. */ data: Buffer; } /** CRC-32 of a buffer (returns an unsigned 32-bit value). */ export declare function crc32(buf: Buffer): number; /** * Encode entries into a ZIP archive Buffer. Entries are sorted by name and each is DEFLATE-compressed * (method 8) with its CRC-32 and sizes written up-front in the local header (no data descriptor). */ export declare function createZip(entries: ZipEntry[]): Buffer;