interface IIterable { collection: T[]; currentIndex: number; hasNext(): boolean; hasPrev(): boolean; next(): T | null; prev(): T | null; } export declare class IteratorArray implements IIterable { collection: T[]; currentIndex: number; constructor(collection: T[], startIndex?: number); hasNext(): boolean; hasPrev(): boolean; next(): T | null; prev(): T | null; } export {};