import type * as React from 'react'; import type { TreeNode } from './types.js'; /** @internal The `collection` data path: builds the same `TreeItem`/`TreeGroup` structure a consumer writes by hand. */ export declare function TreeAnatomy(nodes: readonly TreeNode[], renderLabel: ((node: TreeNode) => React.ReactNode) | undefined): React.ReactNode;