/** * * @param {string} zipPath * @param {UnzipOpts} opts * @returns */ export function extract(zipPath: string, opts: UnzipOpts): Promise; export type UnzipOpts = { /** * The directory to extract to */ dir: string; /** * Override the default dir mode */ defaultDirMode?: string | number | undefined; /** * Override the default file mode */ defaultFileMode?: string | number | undefined; /** * Callback to handle directory entries */ onEntry?: ((entry: yauzl.Entry, zip: yauzl.ZipFile) => void) | undefined; }; import yauzl from 'yauzl'; //# sourceMappingURL=extract-zip.d.ts.map