/// <reference types="react" />
import type { TreeListItemValue, TreeListProps } from '../types';
type UseLogicParams<TValue extends TreeListItemValue = string> = TreeListProps<TValue>;
export declare const useLogic: <TValue extends TreeListItemValue = string>({ value, data, disabledItems, isObjectMode, }: UseLogicParams<TValue>) => {
    listProps: {
        ref: import("react").RefObject<HTMLUListElement | null>;
    };
    itemProps: {
        chainToSelectedItem: string[];
        disabledItems: {
            id: string;
            disabledReason?: string | undefined;
        }[];
        prefixId: string | undefined;
    };
};
export {};
