import { Sequence } from "../../sequency"; export declare class ToArray { /** * Returns all elements of the sequence as array. If an `array` is passed * the elements are appended to the end of the array. * * @param {T[]} array * @returns {T[]} */ toArray(this: Sequence, array?: T[]): T[]; /** * Returns all elements of the sequence as array. If an `array` is passed * the elements are appended to the end of the array. * * @param {T[]} array * @returns {T[]} */ toList(this: Sequence, array?: T[]): T[]; }