import { TreeOptionData, TreeKeysType, PlainObject } from '../common'; export type _TreeOptionData = { children?: Array> | boolean; label?: any; text?: string; value?: T; } & PlainObject; export interface TdTreeSelectProps { customStyle?: string; filterable?: boolean; height?: string | number; keys?: TreeKeysType; multiple?: boolean; options?: Array; value?: TreeSelectValue; defaultValue?: TreeSelectValue; modelValue?: TreeSelectValue; onChange?: (value: TreeSelectValue, level: TreeLevel) => void; } export type TreeSelectValue = string | number | Array; export type TreeLevel = 0 | 1 | 2;