import * as react_jsx_runtime from 'react/jsx-runtime'; import React__default from 'react'; import { VariantProps as VariantPropsInternal } from './variants.js'; declare const fieldError: (props?: ({ size?: "sm" | "md" | "lg" | undefined; } & { className?: string; }) | undefined) => string; interface FieldErrorTextProps extends React__default.HTMLAttributes { as?: 'div' | 'span'; error: string | null | undefined; size?: VariantPropsInternal['size']; className?: string; } declare function FieldErrorText({ as, error, size, className, }: FieldErrorTextProps): react_jsx_runtime.JSX.Element | null; declare namespace FieldErrorText { var displayName: string; } export { FieldErrorText };