import React from 'react';
import { AttributeError, AttributeType } from '@reltio/mdm-sdk';
export declare enum ScrollType {
    Error = "Error",
    NewAttribute = "NewAttribute",
    NewView = "NewView"
}
type ScrollToElementContextProps = {
    element: AttributeError | AttributeType | string | null;
    type: ScrollType | null;
    highlightError?: (element: AttributeError) => void;
    highlightAttribute?: (element: AttributeType) => void;
    highlightView?: (element: string) => void;
    scrollIntoRef: (ref: React.Ref<HTMLDivElement>) => void;
};
export declare const isHighlightedErrorType: (type: ScrollType) => type is ScrollType.Error;
export declare const isHighlightedAttributeType: (type: ScrollType) => type is ScrollType.NewAttribute;
export declare const ScrollToElementContext: React.Context<ScrollToElementContextProps>;
type Props = {
    children: React.ReactNode;
};
export declare const ScrollToElementProvider: ({ children }: Props) => React.JSX.Element;
export {};
