import { default as React } from 'react'; import { ValidationErrors } from './types'; import { FormSize } from '../../constants'; interface ValidationProps { /** Error summary title */ errorTitle?: string; /** Validation errors. If errors include references to HTML elements, the errors will be rendered as links with an onClick handler to focus the element. */ errors?: ValidationErrors; /** Items in the Validation compontent */ children?: React.ReactNode; /** Adds custom classes to the element. */ className?: string; /** Changes the visuals of the formgroup */ size?: keyof typeof FormSize; /** Sets the data-testid attribute. */ testId?: string; /** Hides the ValidationSummary list visually - summary is still announced by screen readers */ visuallyHiddenSummary?: boolean; /** Ref passed to the component */ ref?: React.Ref; } export declare const Validation: React.FC; export default Validation;