import { RefObject } from 'react'; type ValueOf = T[keyof T]; export interface ScrollIntoViewProps { ref: RefObject | null> | null; timeout?: number; autoScroll?: boolean; options?: ScrollIntoViewOptions; } type ScrollFunction = () => void; export declare const useScrollIntoView: ({ ref, timeout, autoScroll, options, }: ScrollIntoViewProps) => [ScrollFunction]; export {};