import { Accessibility } from '../../types'; /** * @description * Adds role 'treeitem' if the title is a leaf node inside the tree. * Adds 'tabIndex' as '-1' if the title is a leaf node inside the tree. * * @specification * Triggers 'performClick' action with 'Enter' or 'Spacebar' on 'root'. */ declare const treeTitleBehavior: Accessibility; export default treeTitleBehavior; declare type TreeTitleBehavior = { /** Indicated if tree title has a subtree */ hasSubtree?: boolean; level?: number; treeSize?: number; index?: number; };