// Type definitions for pify // Project: https://github.com/sindresorhus/pify // Definitions by: Sam Verschueren // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped interface PifyOptions { multiArgs?: boolean, include?: [string | RegExp], exclude?: [string | RegExp], excludeMain?: boolean } declare function pify(input: Function, promiseModule?: Function, options?: PifyOptions): (...args: any[]) => Promise; declare function pify(input: any, promiseModule?: Function, options?: PifyOptions): any; declare function pify(input: Function, options?: PifyOptions): (...args: any[]) => Promise; declare function pify(input: any, options?: PifyOptions): any; declare namespace pify { } export = pify;