import { AriaDisabledProps } from '../../../../core/types/a11y-props.js'; import type { BehaviorTrackingProps } from '../../../../core/types/behavior-tracking-props.js'; import { DataTestId } from '../../../../core/types/data-props.js'; import { MaskingProps } from '../../../../core/types/masking-props.js'; import { StylingProps } from '../../../../core/types/styling-props.js'; import { WithChildren } from '../../../../core/types/with-children.js'; /** * @public */ export interface FieldSetProps extends WithChildren, StylingProps, DataTestId, MaskingProps, AriaDisabledProps, BehaviorTrackingProps { /** * Whether the fieldset and all its fields are disabled or not. * @defaultValue false */ disabled?: boolean; /** The name associated with the group in a form. */ name?: string; } /** * @public */ export interface FieldSetLegendProps extends WithChildren, StylingProps, DataTestId, BehaviorTrackingProps { } /** * Use `FieldSet` to semantically group related form fields. * @public */ export declare const FieldSet: ((props: FieldSetProps & import("react").RefAttributes) => import("react").ReactElement | null) & { Legend: (props: FieldSetLegendProps & import("react").RefAttributes) => import("react").ReactElement | null; };