import type { PipeStep } from './pipe$.js'; import type { Subscribable } from './types/inputs/Subscribable.js'; import type { Observable } from './types/outputs/Observable.js'; /** * For each value emitted by the origin, this step will call `fn`, then will subscribe to its result and re-emit each * emitted value. If a new value is emitted before the returned observable completes, the previous subscription will be * canceled. * @param fn * * @since 1.0.0 */ export declare function switchMap$(fn: (item: T) => Subscribable): PipeStep, Observable>;