/** * Runs a callback on every animation frame with delta time. * Automatically cleans up on unmount. * * @param {(deltaMs: number) => void} callback - Called each frame with time elapsed since last frame in ms * @param {boolean} [enabled=true] - Whether the animation loop is running * * @example * useAnimationFrame((delta) => { * // delta is ~16ms at 60fps * rotation.current += speed * delta; * element.style.transform = `rotate(${rotation.current}deg)`; * }); */ export declare function useAnimationFrame(callback: (deltaMs: number) => void, enabled?: boolean): void;