/** * Concatenates the source iterable with any number of additional iterables in the order provided. * * @typeParam T - Element type yielded by each iterable. * @param src - Source iterable to enumerate first. * @param sequences - Additional iterables appended sequentially after the source. * @returns A deferred iterable that yields all items from `src` followed by each iterable in `sequences`. * * @example * ```ts * const combined = _concat([1, 2], [3], [4, 5]); * console.log([...combined]); // [1, 2, 3, 4, 5] * ``` * * or using the curried version: * ```ts * const combined = pipeInto([1, 2], concat([3], [4, 5])); * console.log([...combined]); // [1, 2, 3, 4, 5] * ``` */ export declare function _concat(src: Iterable, ...sequences: Iterable[]): Iterable; /** * Curried version of {@link _concat}. */ export declare const concat: (...args: Iterable[]) => (src: Iterable) => Iterable;