import * as React from 'react'; import type { TreeItemContextValue, TreeItemProps } from './types.cjs'; export declare const TreeItemProvider: React.FC, useTreeItemContext: (consumerName: string) => TreeItemContextValue; /** @internal Maps hasChildren/expanded to the `data-state` string shared by `TreeItem` and `TreeItemIndicator`. */ export declare function expandStateAttr(hasChildren: boolean, expanded: boolean): 'expanded' | 'collapsed' | undefined; /** * Single tree node (`role="treeitem"`), publishing `aria-level`/`aria-posinset`/`aria-setsize`, `aria-selected`/`aria-checked`, and the CSS custom property `--skdx-tree-node-depth`. * * @example * ```tsx * * ▸ * src * * index.ts * * * ``` */ export declare const TreeItem: { ({ nodeId, disabled, hasChildren: hasChildrenProp, textValue, children, ref: forwardedRef, ...props }: TreeItemProps): React.ReactNode; displayName: string; };