import type { ReactNode } from "react";
import type { TreeSelectProps } from "../types";
export declare function useTreeSelectValue(props: TreeSelectProps): {
    id: string;
    errorId: string;
    helpTextId: string;
    label: string;
    error: string;
    helpText: ReactNode;
    required: boolean;
    isDisabled: boolean;
    size: "small" | "medium" | "large";
    treeData: import("..").TreeNodeData[];
    currentValue: string;
    selectedLabel: string;
    applyValue: (next: string) => void;
    handleClear: (e: React.MouseEvent) => void;
    showClearButton: boolean;
};
