export interface Actions { get: (key: K) => any; set: (key: K, value: V) => void; remove: (key: K) => void; reset: () => void; } declare const useMap: (initialMap?: any) => [T, Actions]; export default useMap;