import { IterableX } from '../iterable'; /** * 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;