export declare class LazyCollection implements Iterable { protected iterable: Iterable | undefined; constructor(iterable?: Iterable); first(): T | undefined; find(predicate: (element: T) => boolean): T | undefined; filter(predicate: (element: T) => boolean): this; map(mapper: (element: T) => R): LazyCollection; toArray(): T[]; /** * USE getIterator() IN METHOD IMPLEMENTATIONS * * This is to support for..of syntax on non-subclass instances of * LazyCollection. getIterator() ensures we use [Symbol.iterator] of the * subclass if `iterable` is not set. */ [Symbol.iterator](): Iterator; private getIterator; }