import { MutableRefObject, RefObject } from 'react'; interface UseScrollIntoViewRequest { container: RefObject | MutableRefObject; scrollingContainer: RefObject | MutableRefObject; } interface UseScrollIntoViewResponse { scrollIntoView: (element: T, alignToTop?: boolean) => void; } export declare function useScrollIntoView({ container, scrollingContainer, }: UseScrollIntoViewRequest): UseScrollIntoViewResponse; export {};