/** * Rejects with a TimeoutError after `timeoutInMs` (never, for 0). * * Call `cancel` once the request settles: a pending timer keeps the request * race, and the response it settled with, reachable until the timer fires. * * @internal */ export declare function requestTimeout(timeoutInMs?: number): { promise: Promise; cancel: () => void; };