import { ContextType } from 'react';
import { ScrollToElementContext } from '../../contexts/ScrollToElementContext';
type Props = {
    highlightedError: ContextType<typeof ScrollToElementContext> | null;
    isSimple?: boolean;
    className?: string;
};
export declare const useScrollToAttributeError: ({ highlightedError: context, isSimple, className }: Props) => {
    ref: import("react").MutableRefObject<HTMLDivElement>;
    errorClassName: string;
} | {
    ref: import("react").MutableRefObject<HTMLDivElement>;
    errorClassName?: undefined;
};
export {};
