import { IMap, IEqualityComparer, ISet, IEnumerator } from "./Util.js"; import { int32 } from "./Int32.js"; import { Option } from "./Option.js"; import { TypeInfo } from "./Reflection.js"; export declare class HashSet implements ISet, Iterable, Iterable { readonly comparer: IEqualityComparer; readonly hashMap: IMap; "init@9": int32; constructor(items: Iterable, comparer: IEqualityComparer); get [Symbol.toStringTag](): string; toJSON(): any; "System.Collections.IEnumerable.GetEnumerator"(): IEnumerator; GetEnumerator(): IEnumerator; [Symbol.iterator](): Iterator; "System.Collections.Generic.ICollection`1.Add2B595"(item: T): void; "System.Collections.Generic.ICollection`1.Clear"(): void; "System.Collections.Generic.ICollection`1.Contains2B595"(item: T): boolean; "System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(array: T[], arrayIndex: int32): void; "System.Collections.Generic.ICollection`1.get_Count"(): int32; "System.Collections.Generic.ICollection`1.get_IsReadOnly"(): boolean; "System.Collections.Generic.ICollection`1.Remove2B595"(item: T): boolean; get size(): int32; add(k: T): ISet; clear(): void; delete(k: T): boolean; has(k: T): boolean; keys(): Iterable; values(): Iterable; entries(): Iterable<[T, T]>; forEach(f: ((arg0: T, arg1: T, arg2: ISet) => void), thisArg?: Option): void; } export declare function HashSet_$reflection(gen0: TypeInfo): TypeInfo; export declare function HashSet_$ctor_Z6150332D(items: Iterable, comparer: IEqualityComparer): HashSet; export declare function HashSet__get_Comparer(this$: HashSet): IEqualityComparer; export declare function HashSet__Clear(this$: HashSet): void; export declare function HashSet__get_Count(this$: HashSet): int32; export declare function HashSet__Add_2B595(this$: HashSet, k: T): boolean; export declare function HashSet__Contains_2B595(this$: HashSet, k: T): boolean; export declare function HashSet__Remove_2B595(this$: HashSet, k: T): boolean;