interface EnumSet { add(e: T): boolean; addAll(collection: EnumSet): boolean; clear(): void; clone(): EnumSet; contains(e: T): boolean; containsAll(collection: EnumSet): boolean; isEmpty(): boolean; remove(e: T): boolean; removeAll(collection: EnumSet): boolean; retainAll(collection: EnumSet): boolean; size(): number; toArray(): T[]; noneOf(e: T): EnumSet; allOf(e: T): EnumSet; }