import { ExtendedIterable } from "./iterable"; import { Retainer, DistinctEqualFn, GroupFn } from "../core"; import { IterableTuple } from "./iterable-tuple"; import { IterableTypeReferenceMap } from "./reference-map-type"; import { TC39SyncIteratorHelpers } from "../tc39/sync"; export declare class ExtendedIterableImplementation extends TC39SyncIteratorHelpers implements ExtendedIterable { protected referenceMap: IterableTypeReferenceMap; private readonly iterable; constructor(iterable: Iterable, referenceMap: IterableTypeReferenceMap); drain(): boolean; hasAny(): boolean; retain(retainer?: Retainer): ExtendedIterable; union(other: Iterable): ExtendedIterable; mask(maskIterable: Iterable): ExtendedIterable; maskReversible(maskIterable: Iterable, reverse?: boolean): ExtendedIterable; skip(count: number): ExtendedIterable; distinct(equalityFn?: DistinctEqualFn): ExtendedIterable; group(fn: GroupFn): ExtendedIterable>; tap(fn: (value: T) => void): ExtendedIterable; toTuple(size: S): IterableTuple; toIterable(): Generator; [Symbol.iterator](): Iterator; }