import { IterableX } from './iterablex'; export declare class CatchWithIterable extends IterableX { private _source; private _handler; constructor(source: Iterable, handler: (error: any) => Iterable); [Symbol.iterator](): IterableIterator; } /** * Creates a sequence that corresponds to the source sequence, concatenating it with the sequence resulting from * calling an exception handler function in case of an error. * @param {Iterable} source Source sequence * @param {function(error: any): Iterable} handler Handler to invoke when an exception of the specified type occurs. * @return {Iterable} Source sequence, concatenated with an exception handler result sequence in case of an error. */ export declare function catchWith(source: Iterable, handler: (error: any) => Iterable): IterableX;