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> | Iterable | Promise> | Iterable | 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; };