/**
 * Accepts a callback function (usually an event handler) that triggers some
 * heavy rerendering and causes react to choke with render tasks.
 *
 * Ensures that only one task to run the callback is scheduled.
 * The latest version of the callback will be called with the latest params
 *
 * It is a good idea to wrap onMouseMove handlers as well as onMouseUp to prevent
 * mouseUp handler called before the last mouse move
 *
 * @param callback
 * @param delayMs delay in milliseconds
 */
export declare const useThrottledCallback: <Args extends unknown[]>(callback: (...params: Args) => void, delayMs?: number) => (...params: Args) => void;
//# sourceMappingURL=useThrottledCallback.d.ts.map