import { BoxStylingProps } from '../Box'; export interface ErrorProps { ['data-testid']: string; /** A unique identifier used in conjunction with aria-describbedby */ id: string; tx?: BoxStylingProps['tx']; /** Error text may always exist, but whether or not it's rendered can be controlled by other factors. */ isErrorVisible: boolean; /** In Formik context, this is represented via meta.error */ errorText?: string; } export declare const Error: ({ isErrorVisible, errorText, tx, ...restOfProps }: ErrorProps) => JSX.Element;