/// <reference types="react" />
/**
 * A game loop that executes a callback function on each animation frame.
 *
 * @param onUpdateCallback - The callback function to be executed on each animation frame. It receives the delta time since the last frame as a parameter.
 *
 * @example
 * import { useLoop } from 'animare/react';
 *
 * useLoop(delta => {
 *   // do something
 * }, []);
 *
 */
export declare function useLoop(onUpdateCallback: (delta: number) => void, deps?: React.DependencyList): void;
//# sourceMappingURL=useLoop.d.ts.map