type MapState = { [key in K]: V; }; export declare function useMapState(initialState?: MapState): [MapState, (key: K, value: V) => void, (key: K) => void, () => void]; export {};