/// <reference types="react" />
import type { InfiniteTreeListData } from '../../types';
import { type TreeItemProps } from '../types';
export declare const useLogic: <TData extends InfiniteTreeListData<TData>>({ item, renderItem, recentlyExpandedIds, }: TreeItemProps<TData>) => {
    item: import("../../types").FlattenTree<TData>;
    renderItem: (item: TData & {
        meta: import("../../types").InfiniteTreeItemMeta;
    }) => import("react").ReactNode;
    classname: string;
    onAnimationEnd: () => void;
};
