export interface ErrorWrapperClassNameProps { errorWrapperClassName?: string; } export interface ErrorWrapperProps { /** Form component */ children?: React.ReactNode; /** Error message */ errorText?: string; /** Error text id */ errorTextId?: string; /** Adds custom classes to the element. */ className?: string; /** Adds a ref to the error message p tag */ errorMessageRef?: React.Ref; /** Renders the error component (Default: true) */ renderError?: boolean; /** Sets the data-testid attribute. */ testId?: string; } export declare const ErrorWrapper: React.FC; export default ErrorWrapper;