export declare class HashSet {
private hashMap;
constructor();
size(): number;
isEmpty(): boolean;
contains(a: A): boolean;
add(a: A): boolean;
remove(a: A): boolean;
[Symbol.iterator](): Iterator;
}
/**
* Creates a new set
*/
export declare function make(): HashSet;
/**
* Creates a new set from an Iterable
*/
export declare function from(xs: Iterable): HashSet;
/**
* Calculate the number of values in a set
*/
export declare function size(self: HashSet): number;
/**
* returns `true` if the set is empty
*/
export declare function isEmpty(self: HashSet): boolean;
/**
* Creates a new set
*
* @ets_data_first contains_
*/
export declare function contains_(self: HashSet, a: A): boolean;
/**
* return true if the set contains `a`
*
* @ets_data_first contains_
*/
export declare function contains(a: A): (self: HashSet) => boolean;
/**
* add `a` to the set
*/
export declare function add_(self: HashSet, a: A): boolean;
/**
* add `a` to the set
*
* @ets_data_first add_
*/
export declare function add(a: A): (self: HashSet) => boolean;
/**
* remove `a` from the set
*/
export declare function remove_(self: HashSet, a: A): boolean;
/**
* remove `a` from the set
*
* @ets_data_first remove_
*/
export declare function remove(a: A): (self: HashSet) => boolean;
//# sourceMappingURL=index.d.ts.map