import { Ref, ReactNode, ReactElement, RefAttributes } from "react"; import { DOMProps } from "@react-types/shared"; import { ForwardedRefComponent } from "../../types/components"; export declare type LegendProps = { id?: string; className?: string; }; export declare type FieldsetElementType = HTMLDivElement; export interface FieldsetProps extends DOMProps, RefAttributes { legend?: string; children: ReactNode; className?: string; legendComponent?: ReactElement; } export declare type FieldsetRef = Ref; declare const Fieldset: ForwardedRefComponent; export { Fieldset };