import React, { ReactElement } from 'react'; import '../../styles/base.module.css'; import { Tooltip, TooltipProps } from '../tooltip'; import { AllElementPropsWithoutRef } from '../../utils/elementTypings'; export type FieldsetProps = AllElementPropsWithoutRef<'fieldset'> & { /** * Heading text inside legend element */ heading: string; /** * If `true` border will be drawn around the fieldset. */ border?: boolean; /** * Additional class names to apply to the card. */ className?: string; helperText?: string; /** * Tooltip */ tooltip?: ReactElement; }; export declare const Fieldset: ({ heading, border, className, helperText, tooltip, children, ...fieldSetProps }: FieldsetProps) => React.JSX.Element;