import { Accessibility } from '../../types'; import { TooltipBehaviorProps } from './tooltipAsDescriptionBehavior'; /** * @description * Implements ARIA Tooltip design pattern. * Adds 'aria-label' to the button if passed as a prop to root or trigger instead of aria-labelledby pointing to the content id. * * @specification * Adds attribute 'role=tooltip' to 'tooltip' slot. * Adds attribute 'aria-hidden=false' to 'tooltip' slot if 'open' property is true. Sets the attribute to 'true' otherwise. * Adds attribute 'aria-labelledby' based on the property 'contentId' to 'trigger' slot. This can be overriden by providing 'aria-labelledby' property directly to the component. * Triggers 'close' action with 'Escape' on 'trigger'. */ export declare const tooltipAsLabelBehavior: Accessibility;