import { TreeSelect as AntTreeSelect } from 'antd'; import type { TreeSelectProps as AntTreeSelectProps } from 'antd/es/tree-select'; import type { TreeNode as AntTreeNode } from 'rc-tree-select'; import type { BaseSelectRef } from 'rc-select'; import React from 'react'; export * from 'antd/es/tree-select'; export interface TreeSelectLocale { placeholder?: string; } export interface TreeSelectProps extends AntTreeSelectProps { locale?: TreeSelectLocale; } type CompoundedComponent = React.ForwardRefExoticComponent> & { TreeNode: typeof AntTreeNode; SHOW_ALL: typeof AntTreeSelect.SHOW_ALL; SHOW_PARENT: typeof AntTreeSelect.SHOW_PARENT; SHOW_CHILD: typeof AntTreeSelect.SHOW_CHILD; _InternalPanelDoNotUseOrYouWillBeFired: typeof AntTreeSelect._InternalPanelDoNotUseOrYouWillBeFired; }; declare const TreeSelect: CompoundedComponent; declare const TreeNode: React.FC; export { TreeNode }; export default TreeSelect;