declare namespace getAsyncFunction { type AsyncFunction = (...args: any[]) => Promise; interface AsyncFunctionConstructor extends FunctionConstructor { new (...args: string[]): AsyncFunction; (...args: string[]): AsyncFunction; readonly prototype: AsyncFunction; } } declare function getAsyncFunction(): getAsyncFunction.AsyncFunctionConstructor | false; export = getAsyncFunction;