import { SelectProps } from 'ant-design-vue/es/select'



export interface Props {
  modelValue: any
  
  options?: any
  
  mode?: 'multiple' | 'tags' | 'combobox'
  
  fieldNames?: any
  
  borderType?: 'underline' | 'bordered' | 'none'
  
  placeholder?: string
  
  disabled?: boolean
  
  isView?: boolean
  
  error?: boolean
  
  errorLabel?: string
  
  errorMode?: 'default' | 'overlay'
  
  optionFilterProp?: string
  
  width?: string | number
  
  height?: string
  
  size?: 'large' | 'middle' | 'default' | 'small' | 'mini' | 'table'
  
  maxTagTextLength?: number
  dropdownClassName?: string
  
  isTooltip?: boolean
  
  showTooltipLength?: number
  
  open?: boolean
  
  showArrow?: boolean
  
  focusOpen?: boolean

  
  isRenderNode?: boolean
  
  getPopupContainer?: Function
  
  noDropdown?: boolean
  
  maxTagsLength?: number
  noSetDefaultVal?: boolean
  
  teleported?: boolean
  
  errorModelZIndex?: number

  
  isExterControlCount?: boolean
  
  dropdownMode?: 'multiple' | 'tags' | 'combobox' | 'custom'
  
  inputAttrs?: any
}

export interface Emits {
  (e: 'update:model-value', currValue: any): void

  (e: 'change', currValue: any, options: any): void

  (e: 'focus', val: any): void

  (e: 'blur', val: any): void

  (e: 'dropdownVisibleChange', val: any): void
  
  (e: 'addCustomItem', val: any): void
}
