export type SelectionEquals = (value: T, element: T) => boolean; export declare class SelectionSet { readonly values: T[]; private readonly equals; constructor(values?: T[], equals?: SelectionEquals); get size(): number; get isEmpty(): boolean; contains(value: T): boolean; containsAll(values: T[]): boolean; containsAny(values: T[]): boolean; select(value: T): SelectionSet; unselect(value: T): SelectionSet; toggle(value: T): SelectionSet; toggleAll(values: T[]): SelectionSet; refresh(values: T[]): SelectionSet; clear(): SelectionSet; private clone; private includes; private exclude; }