export type HelpTriggerIconSizes = 'inherit' | 'medium' | 'large' | 'xlarge'; export type HelpTriggerIconTags = 'button' | 'span'; export type HelpTriggerWeights = 'normal' | 'strong'; export interface HelpTriggerIconProps extends Pick, 'onClick' | 'aria-haspopup' | 'aria-controls' | 'aria-expanded'> { /** * Sets aria-label of the trigger. ariaLabel or ariaLabelledById MUST be set! */ ariaLabel?: string; /** * Sets aria-labelledby of the trigger. ariaLabel or ariaLabelledById MUST be set! */ ariaLabelledById?: string; /** Adds custom classes to the element. */ className?: string; /** * Size of the Icon. Default: medium. */ size?: HelpTriggerIconSizes; /** Sets the data-testid attribute. */ testId?: string; /** * Sets the colors of the help trigger icon. Default: normal. */ weight?: HelpTriggerWeights; /** Ref passed to the component */ ref?: React.Ref; } interface HelpTriggerIconInternalProps extends HelpTriggerIconProps { /** * Sets the hover styling of the trigger. Intended for use when wrapped by a parent button. */ isHovered?: boolean; /** * Only use this if the parent wrapper is a Button! * Changes the underlying element of the trigger. If set to span, the trigger will be a non-interactive icon. Default: button */ htmlMarkup?: HelpTriggerIconTags; } declare const HelpTriggerIcon: React.FC; export declare const HelpTriggerIconInternal: React.FC; export default HelpTriggerIcon;