import { IterableX } from './iterablex'; import { PartialObserver } from '../observer'; export declare class TapIterable extends IterableX { private _source; private _observer; constructor(source: Iterable, observer: PartialObserver); [Symbol.iterator](): IterableIterator; } /** * Lazily invokes observer methods for each value in the sequence, and upon successful or exceptional termination. * @param {Iterable} source Source sequence. * @param {PartialObserver} observer Observer to invoke notification calls on.< * @return {Ierable} Sequence exhibiting the side-effects of observer method invocation upon iteration. */ export declare function tap(source: Iterable, observer: PartialObserver): IterableX;