declare function isPending(promise: Promise, timeout?: number): Promise; export default isPending;