export declare function useIntervalRef(callback: (el: T) => any, intervalMs?: number): (el: T | null) => void;