import { type FC, type HTMLAttributes, type ReactNode, type Ref } from 'react';
export interface TreeViewItemProps extends Omit, 'onSelect'> {
ref?: Ref;
/** Stable id used for selection. Required for a row to be selectable. */
id?: string;
/**
* Row content and nested items. Compose the row freely (icon, badge, text);
* any nested `` children are rendered as the collapsible subtree,
* which also marks this item as an expandable branch.
*/
children?: ReactNode;
/** Force branch behaviour (show a toggle) even without nested items. */
expandable?: boolean;
/** Controlled open state. */
open?: boolean;
/** Uncontrolled initial open state. */
defaultOpen?: boolean;
onOpenChange?: (open: boolean) => void;
/** Visually mark the row as selected (defaults to the tree's selection state). */
selected?: boolean;
/** Dim the row and disable all interaction (toggle, selection, checkbox). */
disabled?: boolean;
}
export declare const TreeViewItem: FC;