import React from 'react'; import { TreeViewNodeData } from './TreeView'; interface TransitionProps { in: boolean; children: React.ReactNode; } export type TreeItemComponent = React.ComponentType; export interface TreeViewContextType { expandedIds: Set; selectedIds: Set; nodesById: Map; nodeParents: Map; itemRefs: React.MutableRefObject>; toggleExpand: (id: string) => void; toggleSelect: (event: React.MouseEvent, id: string) => void; expandIcon?: React.ReactNode; collapseIcon?: React.ReactNode; defaultEndIcon?: React.ReactNode; groupTransition?: React.ComponentType; item?: TreeItemComponent; } export declare const TreeViewContext: React.Context; export declare const useTreeViewContext: () => TreeViewContextType; export interface TreeItemProps { node: TreeViewNodeData; isExpanded: boolean; isExpandable: boolean; isSelected: boolean; level: number; getTreeItemProps: (props?: React.HTMLAttributes) => React.HTMLAttributes; getToggleProps: (props?: React.HTMLAttributes) => React.HTMLAttributes; } export {};