import React from 'react'; import type { ReactNode } from 'react'; import type { CombinedTreeProps, TreeModel } from './types'; export declare type TreeSelectProps = CombinedTreeProps & { /** * Content rendered to the right of the search input */ children?: ReactNode; disabled?: boolean; disabledText?: ReactNode; placeholder?: string; label?: string; id?: string; withDropdown?: boolean; /** * If true, the spinner will not render with tree is undefined */ hideLoading?: boolean; /** * Set this when withDropdown is false */ treeHeight?: string | number; /** * Use the [view].[name] field name rather than the label */ selectedField?: string; /** * View label, or [model label] • [view label] in certain contexts */ selectedSection?: string; onSelectedFieldChange: (fieldData: TreeModel['payload']) => void; }; export declare const TreeSelect: ({ children, disabled, disabledText, placeholder, label, id, tree, shortcutTree, withDropdown, hideLoading, treeHeight, selectedField, selectedSection, onSelectedFieldChange, }: TreeSelectProps) => React.JSX.Element;