/** * ZIP writer for OPC packages (stored + deflated entries). * * Produces a single-disk ZIP with local headers, central directory, and EOCD. * Deflate uses in-tree raw streams (`CompressedStreamWriter`, noWrap). * * @private */ /** * Entry to include in a written archive. */ export interface ZipWriteEntry { /** Forward-slash path (no leading slash required; OPC names are mapped by caller). */ readonly name: string; /** Uncompressed payload. */ readonly data: Uint8Array; /** * When true, store without compression. Default: deflate when it shrinks the payload. */ readonly storeUncompressed?: boolean; } /** * Build a ZIP file buffer from entries. */ export declare function writeZip(entries: ReadonlyArray): Promise; /** * Build a ZIP using only store (method 0). Useful for deterministic tests. */ export declare function writeZipStored(entries: ReadonlyArray): Promise;