import { IterableX } from '../iterablex.js'; import { MonoTypeOperatorFunction } from '../../interfaces.js'; /** @ignore */ export declare class ExpandIterable extends IterableX { private _source; private _fn; constructor(source: Iterable, fn: (value: TSource) => Iterable); [Symbol.iterator](): Generator; } /** * Expands (breadth first) the iterable sequence by recursively applying a selector function to generate more sequences at each recursion level. * * @template TSource Source sequence element type. * @param {(( value: TSource) => Iterable)} selector Selector function to retrieve the next sequence to expand. * @returns {MonoTypeOperatorFunction} An operator which returns a sequence with results * from the recursive expansion of the source sequence. */ export declare function expand(selector: (value: TSource) => Iterable): MonoTypeOperatorFunction;