export interface ThrottleOpts { leading?: boolean; trailing?: boolean; } /** * A hook that returns a throttled value that only updates at most once per specified delay. * @param value The value to throttle * @param delay The delay in milliseconds * @param opts Configuration options for leading/trailing behavior * @returns The throttled value */ export declare function useThrottle(value: T, delay: number, opts?: ThrottleOpts): T; /** * A hook that returns a throttled version of the provided function that can be called * at most once per specified delay. * @param fn The function to throttle * @param delay The delay in milliseconds * @param opts Configuration options for leading/trailing behavior * @returns The throttled function with stable identity */ export declare function useThrottleFn any>(fn: F, delay: number, opts?: ThrottleOpts): F;