/** * AbortSignal composition helpers. * * @module utils/abortSignals */ export interface CombinedAbortSignal { signal: AbortSignal; /** Remove listeners from the source signals. Call once the request settles. */ cleanup: () => void; } /** * Compose several AbortSignals into one that aborts when any input aborts, * propagating the reason of whichever fired first. * * Deliberately does NOT use `AbortSignal.any`: that shipped in Chrome 116 / * Safari 17.4, newer than the browsers this SDK is consumed from, and it is a * runtime API so no transpile step can backfill it. Calling it directly threw * `TypeError: AbortSignal.any is not a function` before `fetch` was ever * reached, which failed UTXO fetches, fee estimation and transaction broadcast * outright on those browsers. */ export declare function combineAbortSignals(signals: AbortSignal[]): CombinedAbortSignal; //# sourceMappingURL=abortSignals.d.ts.map