// Type definitions for extract-zip 1.6 // Project: https://github.com/maxogden/extract-zip // Definitions by: Mizunashi Mana // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped declare namespace extract { interface Options { dir?: string; defaultDirMode?: number; defaultFileMode?: number; onEntry?(entry: any, zipfile: any): void; } } declare function extract( zipPath: string, opts: extract.Options, cb: (err?: Error) => void, ): void; export = extract;