export default function pify(fn: Function): Promise;