import { Observable } from '../Observable'; import { Operator } from '../Operator'; import { Subscriber } from '../Subscriber'; import { Subscription } from '../Subscription'; import { OuterSubscriber } from '../OuterSubscriber'; import { InnerSubscriber } from '../InnerSubscriber'; export declare function mergeMapTo(observable: Observable, resultSelector?: (outerValue: T, innerValue: R, outerIndex: number, innerIndex: number) => R2 | number, concurrent?: number): Observable; export declare class MergeMapToOperator implements Operator, R2> { private ish; private resultSelector; private concurrent; constructor(ish: Observable | Promise, resultSelector?: (outerValue: T, innerValue: R, outerIndex: number, innerIndex: number) => R2, concurrent?: number); call(observer: Subscriber): Subscriber; } export declare class MergeMapToSubscriber extends OuterSubscriber { private ish; private resultSelector; private concurrent; private hasCompleted; private buffer; private active; protected index: number; constructor(destination: Subscriber, ish: Observable | Promise, resultSelector?: (outerValue: T, innerValue: R, outerIndex: number, innerIndex: number) => R2, concurrent?: number); protected _next(value: any): void; private _innerSub(ish, destination, resultSelector, value, index); protected _complete(): void; notifyNext(outerValue: T, innerValue: R, outerIndex: number, innerIndex: number, innerSub: InnerSubscriber): void; private trySelectResult(outerValue, innerValue, outerIndex, innerIndex); notifyError(err: any): void; notifyComplete(innerSub: Subscription): void; }