export declare function isPromise(promise?: any, P?: any): boolean;