declare function runAsync any>( func: F, ): (...args: Parameters) => Promise>>; export = runAsync;