import { IterableX } from '../iterablex.js'; import { MonoTypeOperatorFunction } from '../../interfaces.js'; /** @ignore */ export declare class FlattenIterable extends IterableX { private _source; private _depth; constructor(source: Iterable, depth: number); private _flatten; [Symbol.iterator](): Iterator; } /** * Flattens the nested iterable by the given depth. * * @template T The type of elements in the source sequence. * @param {number} [depth=Infinity] The depth to flatten the iterable sequence if specified, otherwise infinite. * @returns {MonoTypeOperatorFunction} An operator that flattens the iterable sequence. */ export declare function flat(depth?: number): MonoTypeOperatorFunction;