import type { InputNumberProps, InputNumberEmits } from 'element-plus'

export interface Props {
  
  modelValue?: number

  
  placeholder?: string

  
  size?: 'default' | 'table'

  
  controlsPosition?: '' | 'right'

  
  baseLine?: boolean

  
  disabled?: boolean

  
  width?: string

  
  isView?: boolean

  
  errorMode?: 'default' | 'overlay'

  
  error?: boolean

  
  errorLabel?: string

  
  errorModelZIndex?: number

  
  noSetDefaultVal?: boolean

  
  disabledTooltip?: boolean
}

export interface Emits {
  (e: 'update:modelValue', value: number | null): void

  (e: 'input', curValue: number | null | undefined): void

  (e: 'change', curVal: number | null | undefined, oldVal: number | null | undefined): void
}
