import { type FC, type HTMLAttributes, type ReactNode, type Ref } from 'react';
import { type TestableProps } from '../../utils/testId';
/** Horizontal indentation added per nesting level, in pixels. */
export declare const TREE_VIEW_INDENT_STEP = 16;
export interface TreeViewProps extends HTMLAttributes, TestableProps {
ref?: Ref;
children?: ReactNode;
/** Allow rows to be selected by clicking. */
selectable?: boolean;
/** Allow more than one row to be selected at a time. */
multiSelect?: boolean;
/** Controlled selected item ids. */
selectedIds?: string[];
/** Uncontrolled initial selected item ids. */
defaultSelectedIds?: string[];
/** Called whenever the selection changes. */
onSelectionChange?: (ids: string[]) => void;
}
export declare const TreeView: FC;