import { MonoTypeOperatorFunction, PartialObserver } from "rxjs"; export declare function tapWithIndex(next?: (tuple: [T, number]) => void, error?: (error: any) => void, complete?: () => void): MonoTypeOperatorFunction; export declare function tapWithIndex(observer: PartialObserver<[T, number]>): MonoTypeOperatorFunction;