declare function useInterval(fn: () => void, delay: number | null | undefined, options?: { immediate?: boolean; }): void; export default useInterval;