import * as React from 'react'; import type { ExpandAction } from 'rc-tree/lib/Tree'; import type { DefaultOptionType, InternalFieldName, OnInternalSelect } from './TreeSelect'; export interface TreeSelectContextProps { virtual?: boolean; dropdownMatchSelectWidth?: boolean | number; listHeight: number; listItemHeight: number; treeData: DefaultOptionType[]; fieldNames: InternalFieldName; onSelect: OnInternalSelect; treeExpandAction?: ExpandAction; } declare const TreeSelectContext: React.Context; export default TreeSelectContext;