import React, { HTMLAttributes, FC } from 'react'; import { TreeNodeProps } from './TreeNode'; /** * */ export declare const TreeContext: React.Context<{ toggleOnNodeClick?: boolean | undefined; onNodeClick?: ((e: React.MouseEvent, props: TreeNodeProps) => void) | undefined; onNodeLabelClick?: ((e: React.MouseEvent, props: TreeNodeProps) => void) | undefined; onNodeToggle?: ((e: React.MouseEvent, props: TreeNodeProps) => void) | undefined; }>; /** * */ export type TreeProps = { label?: string; toggleOnNodeClick?: boolean; onNodeClick?: (e: React.MouseEvent, props: TreeNodeProps) => void; onNodeLabelClick?: (e: React.MouseEvent, props: TreeNodeProps) => void; onNodeToggle?: (e: React.MouseEvent, props: TreeNodeProps) => void; } & HTMLAttributes; /** * */ export declare const Tree: FC;