import { Operator } from '../Operator'; import { Subscriber } from '../Subscriber'; import { Subscription } from '../Subscription'; import { OuterSubscriber } from '../OuterSubscriber'; import { InnerSubscriber } from '../InnerSubscriber'; import { ObservableInput, OperatorFunction } from '../types'; export declare function mergeMap(project: (value: T, index: number) => ObservableInput, concurrent?: number): OperatorFunction; /** @deprecated resultSelector no longer supported, use inner map instead */ export declare function mergeMap(project: (value: T, index: number) => ObservableInput, resultSelector: undefined, concurrent?: number): OperatorFunction; /** @deprecated resultSelector no longer supported, use inner map instead */ export declare function mergeMap(project: (value: T, index: number) => ObservableInput, resultSelector: (outerValue: T, innerValue: I, outerIndex: number, innerIndex: number) => R, concurrent?: number): OperatorFunction; export declare class MergeMapOperator implements Operator { private project; private concurrent; constructor(project: (value: T, index: number) => ObservableInput, concurrent?: number); call(observer: Subscriber, source: any): any; } /** * We need this JSDoc comment for affecting ESDoc. * @ignore * @extends {Ignored} */ export declare class MergeMapSubscriber extends OuterSubscriber { private project; private concurrent; private hasCompleted; private buffer; private active; protected index: number; constructor(destination: Subscriber, project: (value: T, index: number) => ObservableInput, concurrent?: number); protected _next(value: T): void; protected _tryNext(value: T): void; private _innerSub; protected _complete(): void; notifyNext(outerValue: T, innerValue: R, outerIndex: number, innerIndex: number, innerSub: InnerSubscriber): void; notifyComplete(innerSub: Subscription): void; }