import { AsyncIterableX } from './asynciterablex'; /** * Returns an async iterable sequence that is the result of invoking the selector on the source sequence, * without sharing subscriptions. This operator allows for a fluent style of writing queries that use * the same sequence multiple times. * @param {AsyncIterable} source Source sequence that will be shared in the selector function. * @param {function(source: AsyncIterable): AsyncIterable} selector Selector function which can use * the source sequence as many times as needed, without sharing subscriptions to the source sequence. * @returns An async iterable sequence that contains the elements of a sequence produced by multicasting the source * sequence within a selector function. */ export declare function chain(source: AsyncIterable, selector: (source: AsyncIterable) => AsyncIterable): AsyncIterableX;