import React from 'react'; import { TreeNode, SHOW_ALL, SHOW_PARENT, SHOW_CHILD } from 'rc-tree-select'; import type { LabeledValue, SelectValue, TreeSelectProps } from 'antd/lib/tree-select/index'; import type { BaseSelectRef } from 'rc-select'; import type { BaseOptionType, DefaultOptionType } from 'rc-tree-select/lib/TreeSelect'; export type { TreeSelectProps }; export type { LabeledValue, SelectValue }; declare const TreeSelectRef: (props: TreeSelectProps & { children?: React.ReactNode; } & { ref?: React.Ref; }) => React.ReactElement; declare type InternalTreeSelectType = typeof TreeSelectRef; interface TreeSelectInterface extends InternalTreeSelectType { TreeNode: typeof TreeNode; SHOW_ALL: typeof SHOW_ALL; SHOW_PARENT: typeof SHOW_PARENT; SHOW_CHILD: typeof SHOW_CHILD; } declare const TreeSelect: TreeSelectInterface; export { TreeSelect, TreeNode }; export default TreeSelect;