/**
 * @license EUPL-1.2+
 * Copyright Gemeente Amsterdam
 */
import type { HTMLAttributes, PropsWithChildren } from 'react';
import { HintProps } from '../Hint';
export type FieldSetProps = PropsWithChildren<HTMLAttributes<HTMLFieldSetElement>> & {
    /** Whether the field set has an input with a validation error */
    invalid?: boolean;
    /** The text for the caption. */
    legend: string;
} & HintProps;
export declare const FieldSet: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLFieldSetElement> & {
    children?: import("react").ReactNode | undefined;
} & {
    /** Whether the field set has an input with a validation error */
    invalid?: boolean;
    /** The text for the caption. */
    legend: string;
} & HTMLAttributes<HTMLElement> & {
    hint?: string;
    optional?: boolean;
} & import("react").RefAttributes<HTMLFieldSetElement>>;
