import { default as React } from 'react';
declare const fieldErrorClasses: {
    base: string;
    size: {
        sm: string;
        md: string;
        lg: string;
        xl: string;
    };
};
export interface FieldErrorProps extends React.HTMLAttributes<HTMLDivElement | HTMLSpanElement> {
    tag?: 'div' | 'span';
    error: string | null | undefined;
    size?: keyof typeof fieldErrorClasses.size;
    className?: string;
    id?: string;
}
export declare function FieldError({ tag, error, size, className, id, ...props }: FieldErrorProps): import("react/jsx-runtime").JSX.Element;
export default FieldError;
