import type { ReactNode, RefObject } from 'react';
import { type FlattenTree, type InfiniteTreeItemMeta, type InfiniteTreeListData } from '../types';
export type TreeItemProps<TData extends InfiniteTreeListData<TData>> = {
    item: FlattenTree<TData>;
    renderItem: (item: TData & {
        meta: InfiniteTreeItemMeta;
    }) => ReactNode;
    recentlyExpandedIds: RefObject<Set<string>>;
};
