/// declare module "adm-zip" { interface AdmZipEntry { get entryName(): string; get rawEntryName(): string; get extra(): Buffer; get comment(): string; get name(): string; isDirectory(): boolean; getCompressedData(): Buffer; getCompressedDataAsync(): Buffer; } class AdmZip { constructor(dir?: string); addFile(path: string, data: Buffer, comment?: string): void; extractAllTo(path: string, overwrite?: boolean): void; extractTo(path: string, entry: string, overwrite?: boolean): void; addLocalFolder(path: string, targetPath: string): void; addLocalFile(path: string, targetPath: string): void; writeZip(path: string): void; getEntries(): Promise; } export default AdmZip; }