import { Fn, MaybeAccessor, Pausable } from '../utils/types.js'; import 'solid-js'; import 'solid-js/types/reactive/signal'; interface UseIntervalFnOptions { /** * Start the timer immediately * * @default true */ immediate?: boolean; /** * Execute the callback immediate after calling this function * * @default false */ immediateCallback?: boolean; } /** * Wrapper for `setInterval` with controls. * * @see https://solidjs-use.github.io/solidjs-use/shared/useIntervalFn */ declare function useIntervalFn(cb: Fn, interval?: MaybeAccessor, options?: UseIntervalFnOptions): Pausable; export { UseIntervalFnOptions, useIntervalFn };