export declare type MaybeAsync = Promise | T; export declare const isPromise: (test: any) => boolean; export declare const executeMaybeAsyncFunction: (func: (...args: any[]) => MaybeAsync, ...args: any[]) => Promise;