/** * Promise-based `setTimeout` that races a timer against an optional * AbortSignal. If the signal aborts first, the promise rejects with * `APIConnectionError` carrying the signal's `.reason` as the cause. * * Used by the retry loop's exponential-backoff sleep AND the attachments * resource's polling loop — same semantics in both places. */ export declare function sleep(ms: number, signal?: AbortSignal, abortMessage?: string): Promise; //# sourceMappingURL=sleep.d.ts.map