import './polyfill'; /** * Next function which returns `undefined` or a value of type `T`. * This is used in iterators that can end with an `undefined` value, which * indicates the end of iteration. */ export type UndEndNext = () => undefined | T; /** * Creates an iterator out of {@linke UndefIterator} function. */ export declare class UndEndIterator extends Iterator implements IterableIterator { private readonly n; constructor(n: UndEndNext); next(): IteratorResult; }