import { AbstractSet } from '../abstract-set.js'; import * as immutable from '../hashset.js'; export declare class HashSet extends AbstractSet> { constructor(items?: Set); static of(...items: T[]): HashSet; static from(values: Iterable): HashSet; protected fromArray(array: T[]): HashSet; add(elem: T): boolean; addAll(xs: Iterable): this; subtractAll(xs: Iterable): this; remove(elem: T): boolean; filterInPlace(p: (item: T) => boolean): this; clear(): void; addOne(elem: T): this; subtractOne(elem: T): this; concat(that: Iterable): HashSet; intersect(that: AbstractSet): HashSet; union(that: AbstractSet): HashSet; get toImmutable(): immutable.HashSet; }