import { Accessibility } from '../../types'; /** * @description * Implements ARIA Tooltip design pattern. * * @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-describedby' based on the property 'aria-describedby' to 'trigger' slot. * Triggers 'close' action with 'Escape' on 'trigger'. */ declare const tooltipBehavior: Accessibility; export default tooltipBehavior; export declare type TooltipBehaviorProps = { /** If tooltip is visible. */ open: boolean; /** Tooltip's container id. */ contentId: string; };