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<HTMLDivElement>;
    /** Renders the error component (Default: true) */
    renderError?: boolean;
    /** Sets the data-testid attribute. */
    testId?: string;
}
export declare const ErrorWrapper: React.FC<ErrorWrapperProps>;
export default ErrorWrapper;
