/** * Debounces a value by updating it via a double requestAnimationFrame call. * * Double RAF is useful for ensuring that animations start before expensive rendering is done. * It helps provide smoother user experience by making animations feel reactive. * Normal rendering would block the animation from starting. * * In the context of haunted, the double RAF call makes sure the value is updated *after* all * hooks have been processed and the rendering has been done. Effectively all rapid, intermediary * state changes will be skipped. * * @template T * @param {T} value the value to debounce * @returns {T} the debounced value */ export declare const useDebounceRaf: (value: T) => T;