/** * Defines an abstract class with set utilities. */ export declare abstract class Sets { /** * @constructor * * @private */ private constructor(); /** * Checks whether the given set is empty. * * @param {Set} value Contains some set. * @return {Boolean} whether the given set is empty. */ static isEmpty(value: Set): boolean; /** * Checks whether the given set is not emtpy. * * @param {Set} value Contains some set. * @return {Boolean} whether the given set is not emtpy. */ static isNotEmpty(value: Set): boolean; /** * Checks whether the given value is a set. * * @param {*} value Contains some value. * @return {Boolean} whether the given value is a set. */ static isSet(value?: any): value is Set; /** * Checks whether the specified value is a Set iterator. * * @param {*} value Contains some value. * @return {Boolean} whether the specified value is a Set iterator. */ static isSetIterator(value?: any): value is IterableIterator; /** * Checks whether the given value is of type `WeakSet`. * * @param {*} value Contains some value. * @return {Boolean} whether the given value is of type `WeakSet`. */ static isWeakSet(value?: any): value is WeakSet; /** * Converts a set to a map. * * @param {Set} value Contains some set. * @return {Map} a map whose keys are the indexes of each set value * and the respective values are the set items. */ static toMap(value: Set): Map; }