import { ComponentPropsWithoutRef, ReactNode, ElementType, JSX, JSXElementConstructor } from 'react'; import { TooltipProps } from '../Tooltip'; import { AiMarkWithTooltipOrPopoverProps } from '../../types'; type IntrinsicAttributes> = JSX.LibraryManagedAttributes>; type FieldLabelOwnProps = AiMarkWithTooltipOrPopoverProps & { /** The HTML element to render */ el?: E; /** Unique identifier for the label element */ id?: string; /** * Whether the field is required. Shows a red asterisk (*) when true. * @default false */ required?: boolean; /** Additional information to display in a tooltip */ moreInfo?: ReactNode; /** ID for the sr-only description span, referenced via aria-describedby on the associated input. @internal */ moreInfoId?: string; /** * Controls the open state of the more info tooltip. * @default false * @deprecated The more info tooltip is now triggered by a keyboard-accessible button. This prop has no effect. */ moreInfoOpen?: TooltipProps["open"]; }; /** * Props for the FieldLabel component. */ export type FieldLabelProps = FieldLabelOwnProps & Omit, keyof FieldLabelOwnProps>; export declare const FieldLabel: (props: FieldLabelProps & { ref?: React.Ref; }) => JSX.Element; export {};