interface MapActions { set: (key: K, value: V) => void; setAll: (entries: Iterable) => void; remove: (key: K) => void; reset: () => void; clear: () => void; get: (key: K) => V | undefined; } type UseMapResult = [Map, MapActions]; /** * Custom hook to manage state as a Map, providing helper functions. * * @template K - The type of the keys in the Map. * @template V - The type of the values in the Map. * @param initialMap - Optional initial Map or an iterable of key-value pairs. * @returns A tuple containing the current Map state and an actions object. */ export declare const useMap: (initialMap?: Map | Iterable) => UseMapResult; export {};