import React from 'react'; import { BaseSelection, BaseSelectionProps } from './Selection'; import { Option } from '../select2/select'; export interface TreeSelectionProps extends BaseSelectionProps { expand?: 'all' | 'first' | 'root' | 'none'; placeholderRender?: any; itemRender?: any; } export interface TreeSelectionState { expanded: Array; } export declare class TreeSelection extends BaseSelection { static contextType?: React.Context | undefined; valueArray: Array