import UZip from 'uzip'; export declare class ZipWrapper { records: UZip.UZIPFiles; text: Map; constructor(buffer: ArrayBuffer); /** * check if entry exists */ Has(path: string): true; /** * nondestructive */ ArrayBuffer(): ArrayBuffer; /** * set a binary file. set this directly in the records table, * instead of the text table. */ SetBinary(path: string, data: string, encoding?: 'base64' | 'binary'): void; Set(path: string, text: string): void; GetBinary(path: string): Uint8Array; Get(path: string): string; }