declare function useMap(initialValue?: Iterable): readonly [Map, { readonly set: (key: K, entry: T) => void; readonly setAll: (newMap: Iterable) => void; readonly remove: (key: K) => void; readonly reset: () => void; readonly get: (key: K) => T | undefined; }]; export default useMap;