import { MonoTypeOperatorFunction, Observer } from '../types'; export interface TapObserver extends Observer { subscribe: () => void; unsubscribe: () => void; finalize: () => void; } export declare function tap(observerOrNext?: Partial> | ((value: T) => void)): MonoTypeOperatorFunction; /** @deprecated Instead of passing separate callback arguments, use an observer argument. Signatures taking separate callback arguments will be removed in v8. Details: https://rxjs.dev/deprecations/subscribe-arguments */ export declare function tap(next?: ((value: T) => void) | null, error?: ((error: any) => void) | null, complete?: (() => void) | null): MonoTypeOperatorFunction; //# sourceMappingURL=tap.d.ts.map