import { Field as FieldPrimitive } from '@base-ui/react/field';
import { Fieldset as FieldsetPrimitive } from '@base-ui/react/fieldset';
/**
* Field.Root - Groups all parts of a field with validation support.
* Renders a
element.
*/
declare function FieldRoot({ className, ...props }: FieldPrimitive.Root.Props): import("react").JSX.Element;
declare namespace FieldRoot {
var displayName: string;
}
/**
* Field.Label - An accessible label associated with the field control.
* Renders a
element.
*/
declare function FieldLabel({ className, ...props }: FieldPrimitive.Label.Props): import("react").JSX.Element;
declare namespace FieldLabel {
var displayName: string;
}
/**
* Field.Control - The form control element (input, textarea, select, etc.).
* Passes validation props to the child control.
*/
declare function FieldControl({ className, ...props }: FieldPrimitive.Control.Props): import("react").JSX.Element;
declare namespace FieldControl {
var displayName: string;
}
/**
* Field.Description - A description that provides additional context.
* Renders a element.
*/
declare function FieldDescription({ className, ...props }: FieldPrimitive.Description.Props): import("react").JSX.Element;
declare namespace FieldDescription {
var displayName: string;
}
/**
* Field.Error - Displays validation error messages.
* Only renders when the field is invalid.
* Renders a element.
*/
declare function FieldError({ className, ...props }: FieldPrimitive.Error.Props): import("react").JSX.Element;
declare namespace FieldError {
var displayName: string;
}
/**
* Field.Validity - Provides access to the field's validity state.
* Renders nothing, provides data via render prop.
*/
declare const FieldValidity: import("react").FC;
/**
* Fieldset.Root - Groups related fields with a legend.
* Renders a native element.
*/
declare function FieldsetRoot({ className, ...props }: FieldsetPrimitive.Root.Props): import("react").JSX.Element;
declare namespace FieldsetRoot {
var displayName: string;
}
/**
* Fieldset.Legend - An accessible label for the fieldset.
* Renders a element (not native legend for styling flexibility).
*/
declare function FieldsetLegend({ className, ...props }: FieldsetPrimitive.Legend.Props): import("react").JSX.Element;
declare namespace FieldsetLegend {
var displayName: string;
}
export { FieldControl, FieldDescription, FieldError, FieldLabel, FieldRoot, FieldsetLegend, FieldsetRoot, FieldValidity, };