/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */ import type { FieldsetHTMLAttributes, PropsWithChildren } from 'react'; import type { HintProps } from '../Hint'; export type FieldSetProps = { /** * Whether the fieldset is nested inside another fieldset. * This will show the legend in a lighter style. */ readonly inFieldSet?: boolean; /** Whether the field set has an input with a validation error. */ readonly invalid?: boolean; /** The text for the caption. */ readonly legend: string; /** * Render a level 1 heading in the legend. * Set this if the Field Set is the only content of the page. */ readonly legendIsPageHeading?: boolean; } & HintProps & Readonly>>; /** * Groups a set of Radio buttons or Checkboxes, or other related form fields. * * @see {@link https://designsystem.amsterdam/?path=/docs/components-forms-field-set--docs Field Set docs at Amsterdam Design System} */ export declare const FieldSet: import("react").ForwardRefExoticComponent<{ /** * Whether the fieldset is nested inside another fieldset. * This will show the legend in a lighter style. */ readonly inFieldSet?: boolean; /** Whether the field set has an input with a validation error. */ readonly invalid?: boolean; /** The text for the caption. */ readonly legend: string; /** * Render a level 1 heading in the legend. * Set this if the Field Set is the only content of the page. */ readonly legendIsPageHeading?: boolean; } & Readonly<{ readonly hint?: string; readonly inFieldSet?: boolean; readonly optional?: boolean; }> & Readonly>> & Readonly>> & import("react").RefAttributes>;