export interface Actions { run: (immediate?: boolean) => void; destroy: () => void; } export declare function useInterval(fn: () => void, delay: number, options?: { immediate?: boolean; }): Actions;