import { Accessibility } from '../../types'; /** * @description * Adds attribute 'aria-selected=true' based on the properties 'selectable' & 'selected' if the component has 'hasSubtree' property false or undefined. Does not set anything if true. * Triggers 'performClick' action with 'Spacebar' on 'root', when tree title is selectable. * @specification * Adds attribute 'tabIndex=-1' to 'root' slot if 'hasSubtree' property is false or undefined. Does not set the attribute if true. * Adds attribute 'role=treeitem' to 'root' slot if 'hasSubtree' property is false or undefined. Does not set the attribute if true. * Adds attribute 'aria-setsize=3' based on the property 'treeSize' if the component has 'hasSubtree' property false or undefined. Does not set anything if true.. * Adds attribute 'aria-posinset=2' based on the property 'index' if the component has 'hasSubtree' property false or undefined. Does not set anything if true.. * Adds attribute 'aria-level=1' based on the property 'level' if the component has 'hasSubtree' property false or undefined. Does not set anything if true.. * Triggers 'performClick' action with 'Spacebar' on 'root'. */ export declare const treeTitleBehavior: Accessibility; export declare type TreeTitleBehaviorProps = { /** Indicated if tree title has a subtree */ hasSubtree?: boolean; level?: number; treeSize?: number; index?: number; selected?: boolean; selectable?: boolean; };