import { type FC, type ReactNode } from "react"; type Props = { /** * A string is rendered as body text. Any other node is rendered as-is, so * it can be a `Heading` or contain an icon. A `` may contain * phrasing and heading content. */ children: ReactNode; }; /** * The title of a labelled group (radio group, checkbox group, …), rendered as * the `` of its `
`, so it names the group. * * Browsers render a fieldset's legend outside of the fieldset's (flex) * layout, so the legend gets `display: contents` and its content becomes the * flex item instead. That content must be a single element to stay one item * that follows the parent `Stack`'s gap: a string is wrapped in `Text`, a * single element is rendered as-is, and anything else (a fragment, several * nodes) is wrapped in a block `span`. */ export declare const FieldsetLegend: FC; export {};