import { IEnumerable } from "./interface/IEnumerable"; import IEnumerator from "./interface/IEnumerator"; export declare abstract class Collection implements IEnumerable { getEnumerator(): IEnumerator; toArray(): T[]; protected abstract __iterate(fn: (item: T, index: number) => void): void; }