import type * as React from 'react'; import type { FieldErrorProps } from './types.cjs'; /** * Error text for a Field. Renders nothing while valid; when rendered, joins `aria-describedby` and sets `aria-invalid`. * * @example * ```tsx * (value ? null : 'Enter your name')}> * Name * * * * ``` */ export declare const FieldError: { ({ as, children, ref: forwardedRef, ...props }: FieldErrorProps): React.ReactNode; displayName: string; };