import { LazyIterator } from './iterator.js'; /** * A lazy iterator that cycles through the source iterator. */ declare class LazyCycleIterator extends LazyIterator { source: LazyIterator; protected cache: T[]; protected currentPos: number; constructor(source: LazyIterator); next(...args: [] | [TNext]): IteratorYieldResult; } declare module "./iterator" { interface LazyIterator { /** * Creates a lazy iterator that cycles through this lazy iterator. */ cycle(): LazyCycleIterator; } } export { LazyCycleIterator };