import { type FieldMessageState } from "./fieldMessageStyles"; /** Error and helper text state plus the ids that wire it to the control. */ export type FieldMessageProps = FieldMessageState & { /** From `useFieldIds` — must match the control's `aria-describedby`. */ helperId?: string; errorId?: string; }; /** The single message row under a field: error when `error`, else helper, else nothing. */ declare const FieldMessage: ({ error, errorMessage, helperText, helperId, errorId }: FieldMessageProps) => import("react/jsx-runtime").JSX.Element | null; export default FieldMessage;