import React, { type ReactNode } from "react"; import { Error } from "../Error"; export interface Props { id?: string; classes?: string; legend?: string; legendClasses?: string; legendIsQuestionTitle?: boolean; legendTitleClasses?: string; description?: string; attributes?: { [key: string]: string; }; error?: React.ComponentProps; dontWrap?: boolean; dataTestId: string; children: ReactNode; } export declare const Fieldset: (props: Props) => React.JSX.Element;