import { IterableX } from '../iterable'; /** * Flattens the source sequence until the specified depth. * @param {Iterable} source Source sequence. * @param {Number} depth The depth to flatten the source sequence. * @returns {Iterable} The flattened sequence, flattened to the specified depth. */ export declare function flatten(source: Iterable, depth?: number): IterableX;