/** * Materializes the source iterable into a concrete array. * * @typeParam T - Element type produced by the source iterable. * @param src - Source iterable to expand. * @returns An array containing every element yielded by `src` in iteration order. * * @example * ```ts * const snapshot = _toArray(new Set([1, 2, 3])); * console.log(snapshot); // [1, 2, 3] * ``` * * or using the curried version: * ```ts * const snapshot = pipeInto(new Set([1, 2, 3]), toArray()); * console.log(snapshot); // [1, 2, 3] * ``` */ export declare function _toArray(src: Iterable): T[]; /** * Curried version of {@link _toArray}. */ export declare const toArray: () => (src: Iterable) => T[];