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