/** * useMapState hook * A hook to manage state in the form of a map or object. * * @param initialValue Initial value of the map * @see https://rooks.vercel.app/docs/hooks/useMapState */ declare function useMapState(initialValue: T): [ T, { has: (key: K) => boolean; remove: (key: K) => void; removeAll: () => void; removeMultiple: (...keys: K[]) => void; set: (key: K, value: T[K]) => void; setMultiple: (next: Partial) => void; } ]; export { useMapState };