/**
 * Custom hook to execute a callback function at specified intervals.
 *
 * @param callback - The callback function to be executed.
 * @param delay - The interval duration in milliseconds. Set to null to stop the interval.
 *
 * @returns A mutable ref object that holds the interval ID.
 */
declare const useInterval: (callback: () => void, delay: number | null) => React.MutableRefObject<number | null>;
export default useInterval;
