import { HNDesignsystemHelpBubble } from '../../resources/Resources'; import { AnchorLinkTargets } from '../AnchorLink'; import { PopOverProps, PopOverVariant } from '../PopOver'; export declare const HelpBubbleVariant: typeof PopOverVariant; export interface HelpBubbleProps extends Pick { /** Sets aria-labelledby of the bubble. */ ariaLabelledById?: string; /** Id of the HelpBubble */ helpBubbleId?: string; /** Content shown inside HelpBubble. */ children: React.ReactNode; /** Ref for the element the HelpBubble is placed upon */ controllerRef: React.RefObject; /** Adds custom classes to the element. */ className?: string; /** Determines the placement of the helpbubble. Default: automatic positioning. */ variant?: keyof typeof HelpBubbleVariant; /** Show the bubble. Default: false. */ showBubble?: boolean; /** Hide the close button in the bubble. */ noCloseButton?: boolean; /** Visible text on the link. */ linkText?: string; /** Url the link leads to */ linkUrl?: string; /** Sets the target type of the link. _blank adds an arrow icon at the end of the link */ linkTarget?: AnchorLinkTargets; /** Function is called when link is clicked */ onLinkClick?: () => void; /** Function is called when user clicks the button */ onClose?: () => void; /** aria-label to be passed onto Close */ closeAriaLabel?: string; /** Resources for the component */ resources?: Partial; /** Sets the data-testid attribute. */ testId?: string; /** Ref that is passed to the component */ ref?: React.Ref; } declare const HelpBubble: React.FC; export default HelpBubble;