/** * 判断对象是否是一个promise,即是否可以用.then */ export declare function isPromise(obj: unknown): obj is Promise;