/** * Custom hook that sets up an interval and clears it after unmounting. * It's a way to use `setInterval` with functional components in React. * * @param callback - The function to be executed at each interval. Accepts a time delta as an argument. * @param delay - The duration (in milliseconds) how often to execute the callback. If `null`, the interval will be paused. * @returns A ref object pointing to the interval ID, which can be used to clear the interval if needed. */ export declare function useInterval(callback: (delta: number) => void, delay: number | null, additionalDependencies?: any[]): React.MutableRefObject;