/** * Appends a single item to the end of the source iterable and returns a lazy iterable including the new item. * * @typeParam T - Element type produced by the source iterable and the appended value. * @param src - Source iterable to consume before emitting the appended item. * @param item - Value appended as the final element of the resulting iterable. * @returns A deferred iterable yielding the original sequence followed by the appended item. * * @example * ```ts * const result = _append([1, 2], 3); * console.log([...result]); // [1, 2, 3] * ``` * * or using the curried version: * ```ts * const result = pipeInto([1, 2], append(3)); * console.log([...result]); // [1, 2, 3] * ``` */ export declare function _append(src: Iterable, item: T): Iterable; /** * Curried version of {@link _append}. */ export declare const append: (item: T) => (src: Iterable) => Iterable;