import { IterableX } from '../iterablex.js'; import { OperatorFunction } from '../../interfaces.js'; /** @ignore */ export declare class FlatMapIterable extends IterableX { private _source; private _fn; private _thisArg?; constructor(source: Iterable, fn: (value: TSource) => Iterable, thisArg?: any); [Symbol.iterator](): Generator; } /** * Projects each element of an iterable sequence to an iterable sequence and merges * the resulting iterable sequences into one iterable sequence. * * @template TSource The type of the elements in the source sequence. * @template TResult The type of the elements in the projected inner sequences and the elements in the merged result sequence. * @param {((value: TSource, index: number) => Iterable)} selector A transform function to apply to each element. * @param {*} [thisArg] Option this for binding to the selector. * @returns {OperatorFunction} An operator that creates an iterable sequence whose * elements are the result of invoking the one-to-many transform function on each element of the input sequence. */ export declare function flatMap(selector: (value: TSource) => Iterable, thisArg?: any): OperatorFunction;