import { AsyncIterableX } from './asynciterablex'; export declare class CatchAllAsyncIterable extends AsyncIterableX { private _source; constructor(source: Iterable>); [Symbol.asyncIterator](signal?: AbortSignal): AsyncGenerator; } /** * Continues an async-iterable sequence that is terminated by an exception with the next async-iterable sequence. * * @export * @template T The type of the elements in the source and handler sequences. * @param {Iterable>} source async-iterable sequences to catch exceptions for. * @returns {AsyncIterableX} An async-iterable sequence containing elements from consecutive source * sequences until a source sequence terminates successfully. */ export declare function catchAll(source: Iterable>): AsyncIterableX; /** * Continues an async-iterable sequence that is terminated by an exception with the next async-iterable sequence. * * @export * @template T The type of the elements in the source and handler sequences. * @param {...AsyncIterable[]} args async-iterable sequences to catch exceptions for. * @returns {AsyncIterableX} An async-iterable sequence containing elements from consecutive source * sequences until a source sequence terminates successfully. */ export declare function catchError(...args: AsyncIterable[]): AsyncIterableX;