import { UploadFile } from 'ant-design-vue'
export interface Props {
  
  maxCount?: number

  
  status?: 'normal' | 'uploading' | 'error'

  
  message?: string

  
  errorMessage?: string

  
  accept?: string

  
  acceptVideo?: boolean

  
  acceptAudio?: boolean

  
  maxSize?: number | string

  
  customCheck?: (file: UploadFile) => boolean | Promise<any>

  
  autoContentType?: boolean

  
  openFileDialogOnClick?: boolean

  
  isOverMaxLimitCompressImg?: boolean
}

export interface Emits {
  
  (e: 'update:status', val: any): void

  
  (e: 'image-upload', file: UploadFile): void
}
