/** * Race a promise against a timeout. Clears the timer when the main promise settles, * preventing unhandled rejection from the timeout promise. */ export declare function withTimeout(promise: Promise, ms: number, message: string): Promise; //# sourceMappingURL=with-timeout.d.ts.map