import type { TreeSelectProps } from "../types";
export declare function useTreeSelectValue(props: TreeSelectProps): {
    id: string;
    errorId: string;
    helpTextId: string;
    label: string;
    error: string;
    helpText: string | number | bigint | boolean | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | null;
    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;
};
