import { RefObject } from 'react'; /** * A hook that allows you to create a state map that can be updated thousands * of times per second directly with the setter function, but only updates the * render state every `throttleMs` milliseconds. * * @param initialValue - The initial value of the map. * @param throttleMs - The throttle time in milliseconds. * @returns A tuple containing the current value of the map, a setter function, * and the throttled value. */ export declare function useThrottledStateMap>(initialValue: T, throttleMs?: number): [RefObject, (value: T | ((prev: T) => T)) => void, T];