import type * as React from "react";
import type { IconName, IconProps } from "../../ui";
export interface ITreeNodeItem {
    id: string | number;
    name: string;
    icon: IconName | IconProps;
    children?: ITreeNodeItem[];
}
export interface TreeNodeProps {
    item: ITreeNodeItem;
    depth: number;
    hasChildren: boolean;
    isExpanded: boolean;
    isSelected: boolean;
    onSelect?: () => void;
    onToggleExpand: () => void;
}
export type TreeNodeComponent = React.ComponentType<React.PropsWithChildren<TreeNodeProps & React.RefAttributes<HTMLLIElement>>>;
