import React, { type ReactElement } from 'react'; import { type RowProps } from '../row'; import { type RowsProps } from '../rows'; type ItemProps = { /** * @default 0 */ depth?: number; data: Item & { children?: Item[]; }; render: (arg: Item & { children?: Item[]; }) => ReactElement | RowsProps> | null; loadingLabel?: string; key?: string; }; /** * __Item__ * Internal item component. */ declare function Item({ depth, data, render, loadingLabel, }: ItemProps): React.ReactElement | RowsProps, string | React.JSXElementConstructor> | null; export default Item;