import { LazyIterator } from './iterator.cjs'; /** * A basic implementation of a lazy iterator, which wraps an existing iterator. */ declare class BasicLazyIterator extends LazyIterator { source: Iterator; constructor(source: Iterator); next(...args: [] | [TNext]): IteratorResult; } declare module "./iterator" { interface LazyIteratorFactory { /** * Creates a lazy iterator from an existing iterator or iterable. * @param source the source iterable */ from(source: Iterable): LazyIterator; /** * Creates a lazy iterator from an existing iterator or iterable. * @param source the source iterator */ from(source: Iterator): LazyIterator; } } export { BasicLazyIterator };