import { BoxProps, ChakraComponent } from '@chakra-ui/react'; import { default as React } from 'react'; export interface FieldsetProps extends BoxProps { /** Flag to show or hide the text in the `legend` element. False by default. */ isLegendHidden?: boolean; /** Flag to render "required" in the `legend`. True by default. */ isRequired?: boolean; /** Text to display in the `legend` element. */ legendText?: string; /** Whether or not to display the "(required)" text in the `legend` text. * True by default. */ showRequiredLabel?: boolean; } /** * A wrapper component that renders a `fieldset` element along with a `legend` * element as its first child. Commonly used to wrap form components. */ export declare const Fieldset: ChakraComponent & React.RefAttributes>, React.PropsWithChildren>; export default Fieldset;