/** * Defines an abstract class with map utilities. */ export declare abstract class Maps { /** * @constructor * * @private */ private constructor(); /** * Checks whether the given map is empty. * * @param {Map} map Contains some map. * @return {Boolean} whether the given map is empty. */ static isEmpty(map: Map): boolean; /** * Checks whether the given value is a map. * * @param {*} value Contains some value. * @return {Boolean} whether the given value is a map. */ static isMap(value?: any): value is Map; /** * Checks whether the specified value is a Map iterator. * * @param {*} value Contains some value. * @return {Boolean} whether the specified value is a Map iterator. */ static isMapIterator(value?: any): value is IterableIterator<[any, any]>; /** * Checks whether the given map is not empty. * * @param {Map} map Contains some map. * @return {Boolean} whether the given map is not empty. */ static isNotEmpty(map: Map): boolean; /** * Checks whether the specified value is of type `WeakMap`. * * @param {*} value Contains some value. * @return {Boolean} whether the specified value is of type `WeakMap`. */ static isWeakMap(value?: any): value is WeakMap; /** * Converts a map to an object. * * @param {Map} map Contains some map. * @return {Object} the object whose property keys and values are the * key-value pairs of the map. */ static toObject(map: Map): Record; /** * Converts a map to a set. * * @param {Map} map Contains some map. * @return {Set} a set. */ static toSet(map: Map): Set; }