export type ChunkProcessor = (breakAndResolve: () => void, currentFileGettingProcessed: string) => (chunk: Buffer) => void; export declare function withZipFile(zipUrl: string, fn: (zipPath: string) => Promise): Promise; export declare function streamZipEntries({ zipPath, fileNames, chunkProcessor, }: { zipPath: string; fileNames: string[]; chunkProcessor: ChunkProcessor; }): Promise; export declare function readMultipleZipEntries({ zipPath, entryNames, }: { zipPath: string; entryNames: Set; }): Promise>; export declare function readZipResourcesBySha1({ zipPath, sha1Set, }: { zipPath: string; sha1Set: Set; }): Promise>; export declare function readZipEntry(zipPath: string, entryName: string): Promise; export declare function getZipEntryNames(zipPath: string): Promise; export declare function extractZipToDirectory(zipPath: string, destDir: string): Promise; export declare function extractZipBufferToDirectory(buffer: Buffer, destDir: string): Promise; export declare function createZipFromDirectory(sourceDir: string): Promise; export interface PatchZipOptions { filterEntry?: (filename: string) => boolean; newEntries?: { filename: string; content: Buffer; }[]; } export declare function patchZipFile(zipPath: string, options: PatchZipOptions): Promise; //# sourceMappingURL=zip-utils.d.ts.map