import { ObservableInput, OperatorFunction } from '../types'; export declare function switchMap(project: (value: T, index: number) => ObservableInput): OperatorFunction; /** @deprecated resultSelector is no longer supported, use inner map instead */ export declare function switchMap(project: (value: T, index: number) => ObservableInput, resultSelector: undefined): OperatorFunction; /** @deprecated resultSelector is no longer supported, use inner map instead */ export declare function switchMap(project: (value: T, index: number) => ObservableInput, resultSelector: (outerValue: T, innerValue: I, outerIndex: number, innerIndex: number) => R): OperatorFunction;