import { Accessibility } from '../../types'; import { MenuButtonBehaviorProps } from '../MenuButton/menuButtonBehavior'; /** * @description * Adds attribute 'tabIndex=-1' based on the property 'open' to 'trigger' slot. * Adds attribute 'aria-controls=menu-id' based on the property 'open' to 'trigger' slot. * Adds attribute 'aria-expanded=true' based on the property 'open' to 'trigger' slot. * Adds attribute 'id=trigger-id' based on the property 'triggerId' to 'trigger' slot. * Adds attribute 'id=menu-id' based on the property 'menuId' to 'menu' slot. * Adds attribute 'aria-labelledby=trigger-id' based on the property 'triggerId' to 'menu' slot. * Triggers 'closeAndFocusTrigger' action with 'Escape' or 'altKey'+'ArrowUp'. * Triggers 'openAndFocusFirst' action with 'altKey'+'ArrowDown' on 'root' slot. * Triggers 'stopPropagation' action with 'ArrowLeft' or 'ArrowRight' on 'root' slot. * * @specification * Adds attribute 'tabIndex=-1' to 'toggleButton' slot. * Adds attribute 'aria-haspopup=true' to 'toggleButton' slot. * Adds attribute 'data-is-focusable=false' to 'toggleButton' slot. */ export declare const splitButtonBehavior: Accessibility; export declare type SplitButtonBehaviorProps = Pick;