export declare function promisify(fn: (...args: any[]) => void): (...args: any[]) => any;