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