/** * Custom hook that throttles a callback function to limit how often it can be invoked. * * Throttling ensures that the callback is executed at most once per specified time interval, * regardless of how many times the throttled function is called. * * @param callback - The function to throttle * @param delay - The minimum time interval (in milliseconds) between executions * @returns A throttled version of the callback function * * @example * ```tsx * const throttledClick = useThrottle(() => { * console.log('Button clicked') * }, 500) * * return * ``` */ export declare const useThrottle: any>(callback: T, delay: number) => T;