export type PromiseFunction = () => PromiseLike; export type PromiseFunctionWithArgs = (...args) => PromiseLike;