import { AbstractSet } from "../interface/AbstractSet"; export declare class TreeSet extends AbstractSet { private tree; private size; constructor(compareKey?: keyof T); add(item: T): this; entries(): Array; has(item: T): boolean; remove(item: T): boolean; diff(set: AbstractSet): Array; union(set: AbstractSet): Array; intersect(set: AbstractSet): Array; readonly Size: number; }