export declare type PromiseType

> = P extends Promise ? T : never; export declare type FunctionReturningPromise = (...args: any[]) => Promise;