import { ContextType } from 'react';
import { ScrollToElementContext } from '../../contexts/ScrollToElementContext';
export declare const useScrollToAttribute: (context?: ContextType<typeof ScrollToElementContext>) => {
    ref: import("react").MutableRefObject<HTMLDivElement>;
    highlightedClassName: string;
} | {
    ref: import("react").MutableRefObject<HTMLDivElement>;
    highlightedClassName?: undefined;
};
