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'. */ export declare const hierarchicalTreeTitleBehavior: Accessibility; export declare type HierarchicalTreeTitleBehaviorProps = { /** Indicated if tree title has a subtree */ hasSubtree?: boolean; /** If subtree is opened. */ open?: boolean; };