import type {Sequence} from './types'; type NextFunction = () => IteratorResult; export default class ObliteratorIterator implements IterableIterator { // Constructor constructor(next: NextFunction); // Well-known methods next(): IteratorResult; [Symbol.iterator](): IterableIterator; // Static methods static of(...args: T[]): ObliteratorIterator; static empty(): ObliteratorIterator; static is(value: any): boolean; static fromSequence(sequence: Sequence): ObliteratorIterator; }