import React from 'react'; import type { Option, WithAsProps, DataProps, ToArray } from '../internals/types'; import type { SelectNode, CascadeColumn } from './types'; type SetLike = { has(value: T): boolean; }; export interface TreeViewProps extends WithAsProps, Omit>, 'data'> { data?: (readonly Option[])[]; disabledItemValues?: ToArray>; activeItemValue?: T | null; loadingItemsSet?: SetLike>; cascadePaths?: Option[]; columnWidth?: number; columnHeight?: number | string; renderTreeNode?: (node: React.ReactNode, itemData: Option) => React.ReactNode; renderColumn?: (childNodes: React.ReactNode, column: CascadeColumn) => React.ReactNode; onSelect?: (node: SelectNode, event: React.MouseEvent) => void; } declare const TreeView: import("../internals/types").InternalRefForwardingComponent<"div", TreeViewProps, never> & Record; export default TreeView;