import * as React from 'react'; import { DataSourcePropOnTreeSelectionChange_MultiNode, InfiniteTableProps, TreeDataSourceProps } from '../../InfiniteTable'; export type TreeListItem = { id?: string | number; label: string; children?: TreeListItem[]; }; export type TreeListProps> = { options: T[]; debugId?: string; primaryKey?: keyof T; domProps?: InfiniteTableProps['domProps']; style?: React.CSSProperties; rowHeight?: number | string; treeSelection?: TreeDataSourceProps['treeSelection']; defaultTreeSelection?: TreeDataSourceProps['defaultTreeSelection']; onTreeSelectionChange?: DataSourcePropOnTreeSelectionChange_MultiNode; defaultTreeExpandState?: TreeDataSourceProps['defaultTreeExpandState']; onTreeExpandStateChange?: TreeDataSourceProps['onTreeExpandStateChange']; columns?: InfiniteTableProps['columns']; columnHeaderHeight?: number | string; onReady?: InfiniteTableProps['onReady']; treeFilterFunction?: TreeDataSourceProps['treeFilterFunction']; }; export declare function TreeList>(props: TreeListProps): React.JSX.Element;