import { FormFieldRoot, FormFieldLabel, FormFieldInput, FormFieldDescription, FormFieldError, FormFieldInfoBox } from './components';
export declare const FormField: {
/**
* # FormField.Root
*
* The root container for the form field that provides context and state management
* for all child components. Handles React Aria integration for accessibility,
* manages field state (required, invalid, disabled, readonly), and coordinates
* rendering of label, input, description, and error elements.
*
* @example
* ```tsx
*
* Username
*
*
*
* Enter your username
* Username is required
*
* ```
*/
Root: {
({ ref: forwardedRef, id, isInvalid, isRequired, isDisabled, isReadOnly, children, ...props }: import('./form-field.types').FormFieldProps): import("react/jsx-runtime").JSX.Element;
displayName: string;
};
/**
* # FormField.Label
*
* The label element for the form field. Automatically associates with the input
* via React Aria and displays a required indicator when the field is required.
* Supports an optional info box trigger for additional field information.
*
* @example
* ```tsx
*
* Email Address
*
* Your email will be used for account notifications
*
*
*
*
*
* ```
*/
Label: {
({ children, ...labelSlotProps }: import('./form-field.types').FormFieldLabelSlotProps): null;
displayName: string;
};
/**
* # FormField.Input
*
* The input wrapper element that receives and displays the actual input component.
* Automatically clones children and passes accessibility props, validation state,
* and field attributes from React Aria.
*
* @example
* ```tsx
*
* Password
*
*
*
*
* ```
*/
Input: {
({ children, ...inputSlotProps }: import('./form-field.types').FormFieldInputSlotProps): import("react/jsx-runtime").JSX.Element;
displayName: string;
};
/**
* # FormField.Description
*
* The description element that provides helpful information about the field.
* Automatically associates with the input via `aria-describedby` for screen readers.
*
* @example
* ```tsx
*
* Username
*
*
*
*
* Must be 3-20 characters, letters and numbers only
*
*
* ```
*/
Description: {
({ children, ...descriptionSlotProps }: import('./form-field.types').FormFieldDescriptionSlotProps): null;
displayName: string;
};
/**
* # FormField.Error
*
* The error message element that displays validation errors. Only visible when
* the field is invalid. Automatically associates with the input via
* `aria-errormessage` and includes an error icon.
*
* @example
* ```tsx
*
* Email
*
*
*
* Please enter a valid email address
*
* ```
*/
Error: {
({ children, ...errorSlotProps }: import('./form-field.types').FormFieldErrorSlotProps): null;
displayName: string;
};
/**
* # FormField.InfoBox
*
* The info box content that appears in a popover when the help icon next to
* the label is clicked. Use for additional context or instructions that don't
* need to be visible by default.
*
* @example
* ```tsx
*
* API Key
*
* Your API key can be found in your account settings.
* Keep it secure and never share it publicly.
*
*
*
*
*
* ```
*/
InfoBox: {
({ children }: {
children: import('react').ReactNode;
}): null;
displayName: string;
};
};
export { FormFieldRoot as _FormFieldRoot, FormFieldLabel as _FormFieldLabel, FormFieldInput as _FormFieldInput, FormFieldDescription as _FormFieldDescription, FormFieldError as _FormFieldError, FormFieldInfoBox as _FormFieldInfoBox, };