import { default as React } from 'react';
export interface TreeNode {
/** Node ID */
id: string;
/** Node label */
label: React.ReactNode;
/** Node icon */
icon?: React.ReactNode;
/** Child nodes */
children?: TreeNode[];
/** Disabled state */
disabled?: boolean;
}
export interface TreeViewProps {
/** Tree data */
data: TreeNode[];
/** Selected node ID */
selectedId?: string;
/** Selection handler */
onSelect?: (node: TreeNode) => void;
/** Expanded node IDs */
expandedIds?: string[];
/** Expand handler */
onExpand?: (nodeId: string) => void;
/** Default expanded */
defaultExpanded?: boolean;
/** Show lines */
showLines?: boolean;
/** Additional className */
className?: string;
}
/**
* TreeView Component
*
* Hierarchical tree view with expand/collapse.
* Supports selection, custom icons, and indentation lines.
*
* @example
* ```tsx
*
* ```
*
* @example
* ```tsx
*
* ```
*/
export declare const TreeView: React.FC;
//# sourceMappingURL=tree-view.d.ts.map