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