import { IconDefinition } from '@mezzanine-ui/icons'; import { DescriptionSize, DescriptionWidthType } from '@mezzanine-ui/core/description'; import { BadgeDotVariant } from '@mezzanine-ui/core/badge'; import { Placement } from '@floating-ui/react-dom'; interface DescriptionTitleBaseProps { /** * Displays a badge dot alongside the title text */ badge?: BadgeDotVariant; /** * Custom class name for title */ className?: string; /** * Title text */ children: string; /** * Controls the text size of the title. * @default 'main' */ size?: DescriptionSize; /** * Controls the layout width behavior of the title * @default 'stretch' */ widthType?: DescriptionWidthType; } interface DescriptionTitleWithTooltip { /** * An icon displayed after the title text */ icon: IconDefinition; /** * Text content displayed in a tooltip when hovering over the icon */ tooltip: string; /** * Defines the placement of the tooltip relative to the icon */ tooltipPlacement?: Placement; } interface DescriptionTitleWithoutTooltip { icon?: IconDefinition; tooltip?: undefined; tooltipPlacement?: undefined; } export type DescriptionTitleProps = (DescriptionTitleBaseProps & DescriptionTitleWithTooltip) | (DescriptionTitleBaseProps & DescriptionTitleWithoutTooltip); declare const DescriptionTitle: import("react").ForwardRefExoticComponent>; export default DescriptionTitle;