import React from 'react'; export interface TreeItemNode { readonly id: TId; readonly label: React.ReactNode; readonly icon?: React.ReactNode; readonly children?: readonly TreeItemNode[]; readonly disabled?: boolean; readonly meta?: React.ReactNode; readonly actions?: React.ReactNode; } export interface TreeItemRenderProps { readonly node: TreeItemNode; readonly depth: number; readonly selected: boolean; readonly expanded: boolean; readonly hasChildren: boolean; } export interface TreeViewProps { readonly nodes: readonly TreeItemNode[]; readonly selectedId?: TId; readonly expandedIds?: readonly TId[]; readonly defaultExpandedIds?: readonly TId[]; readonly onSelect?: (id: TId) => void; readonly onExpandedChange?: (ids: readonly TId[]) => void; readonly renderItem?: (props: TreeItemRenderProps) => React.ReactNode; readonly expansionIndicator?: 'chevron' | 'folder'; readonly className?: string; readonly style?: React.CSSProperties; readonly ariaLabel?: string; } /*** * Render the standalone browser TreeView artifact without React Native runtime dependencies. * @config expansionIndicator Use `chevron` beside custom node icons, or `folder` (default) for * built-in folder/file indicators. Expansion is leading and independent from row selection. */ export declare function TreeView({ nodes, selectedId, expandedIds: controlledExpandedIds, defaultExpandedIds, onSelect, onExpandedChange, renderItem, expansionIndicator, className, style, ariaLabel, }: TreeViewProps): React.JSX.Element; //# sourceMappingURL=TreeView.d.ts.map