/** * The useInterval function is a custom React hook that allows you to set up an interval * and clear it using the standard useEffect() hook. * @example useInterval(() => {}, 1000); * * @param callback T Specify the type of callback function * @param delay number Set the interval of the timer * * @return Void * */ export declare const useInterval: any>(callback: T, delay: number) => void;