import type { MonoTypeOperatorFunction, ObservableInput } from 'rxjs'; /** * Like tap, but asynchronous and uses mergeMap internally. * @param tapper The tap function * @param thisArg An optional thisArg * @kind Operator * @since 2.1.0 * @see https://rxjs.dev/api/operators/tap * @see https://rxjs.dev/api/operators/mergeMap * @example * import {mergeTap} from '@aloreljs/rxutils/operators'; * * userLoggingIn$ * .pipe( * // Allow any number of users to be logging in at a time. Results may arrive out of order. * mergeTap(userId => processAsynchronously(userId)) * ) * .subscribe(userId => { * console.log(userId, 'logged in'); * }); */ export declare function mergeTap(tapper: (v: T) => ObservableInput, thisArg?: any): MonoTypeOperatorFunction;