import { AbstractSet } from "../interface/AbstractSet"; export declare class HashSet extends AbstractSet { private hashtable; private static DEFAULT_TABLE_SIZE; readonly Size: number; constructor(capacity?: number); add(item: T): this; has(element: T): boolean; remove(element: T): boolean; clear(): void; entries(): any[]; diff(set: AbstractSet): Array; union(set: AbstractSet): Array; intersect(set: AbstractSet): Array; static fromArray(array: Array): HashSet; }