export default class LibZip { module: any; private home; constructor(module: any, home?: string); zipFromFs(changedAfterMs?: number): Promise; zipToFs(zipArchive: Uint8Array, path?: string, filter?: string): Promise; writeFile(file: string, body: ArrayBuffer | Uint8Array | string): void; readFile(file: string, encoding?: "binary" | "utf8"): Promise; exists(file: string): boolean; destroy(): any; private normalizeFilename; private createPath; private chdirToHome; private chdir; zipAddFile(archive: string, file: string): Promise; }