import { SpectrumFieldValidation, SpectrumHelpTextProps, StyleProps, Validation } from '@react-types/shared'; import React, { HTMLAttributes, ReactNode } from 'react'; interface HelpTextProps extends Omit, Omit, 'validationState'>, SpectrumFieldValidation, StyleProps { /** Props for the help text description element. */ descriptionProps?: HTMLAttributes; /** Props for the help text error message element. */ errorMessageProps?: HTMLAttributes; /** An error message for the field. */ errorMessage?: ReactNode; } /** * Help text provides either an informative description or an error message that gives more context * about what a user needs to input. It's commonly used in forms. */ export declare const HelpText: React.ForwardRefExoticComponent>>; export {};