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