/** * when promise is timeput, reject promise * @param {Promise} promise * @param {number} ms * @param {string} reason * @returns {Promise} */ export declare function timeoutPromise(promise: Promise, ms: number, reason?: string): Promise;