/** * @file Abort signal utilities — composite signal construction from multiple * sources and timeout-driven signal creation. */ /** * Create a composite AbortSignal from multiple signals. * * @example * ;```typescript * const ac1 = new AbortController() * const ac2 = new AbortController() * const signal = createCompositeAbortSignal(ac1.signal, ac2.signal) * ``` */ export declare function createCompositeAbortSignal(...signals: Array): AbortSignal; /** * Create an AbortSignal that triggers after a timeout. * * @example * ;```typescript * const signal = createTimeoutSignal(5000) // aborts after 5 seconds * httpJson(url, { signal }) * ``` * * @throws {TypeError} If `ms` is not a number, is NaN, is not finite, or is not * positive. */ export declare function createTimeoutSignal(ms: number): AbortSignal;