import { HashableEqualityComparer } from "./equalityComparison"; import { SetEqualsSymbol, SetEquatable } from "./sets/typing"; export declare class HashSet implements Set, SetEquatable { private _buckets; private _size; readonly comparer: HashableEqualityComparer; constructor(comparer?: HashableEqualityComparer); static from(values?: Iterable | ReadonlySetLike, comparer?: HashableEqualityComparer): HashSet; add(value: T): this; clear(): void; delete(value: T): boolean; forEach(callbackfn: (value: T, value2: T, set: Set) => void, thisArg?: unknown): void; has(value: T): boolean; get size(): number; entries(): SetIterator<[T, T]>; keys(): SetIterator; values(): SetIterator; union(other: ReadonlySetLike | Iterable): Set; intersection(other: ReadonlySetLike): Set; difference(other: ReadonlySetLike): Set; symmetricDifference(other: ReadonlySetLike | Iterable): Set; isSubsetOf(other: ReadonlySetLike): boolean; isSupersetOf(other: ReadonlySetLike | Iterable): boolean; isDisjointFrom(other: ReadonlySetLike | Iterable): boolean; setEquals(other: Iterable): boolean; [SetEqualsSymbol](other: Iterable): boolean; [Symbol.iterator](): SetIterator; readonly [Symbol.toStringTag] = "HashSet"; } //# sourceMappingURL=hashSet.d.ts.map