export type Props = {
  
  btnText?: string
  
  importFun?: () => void
  
  ossName?: string
  
  templateName?: string
  
  templateUrl?: string
  
  templateFun?: () => void
  
  templateType?: 'static' | 'dynamic'
  
  fileType?: string
  
  fileMaxSize?: string
  
  importParams?: any
  
  importParamsPosition?: 'params' | 'body'
  
  importDialogName?: string
  
  confirmButtonName?: string
  
  openDisabled?: boolean
  
  bucketName?: string
  
  maxCount?: number
  
  multiple?: boolean
  
  dialogFistTip?: string
  
  dialogSecondTip?: string
}

export type Emits = {
  
  (e: 'open'): void
  
  (e: 'success'): void
  
  (e: 'error', errorMessage: any): void
}
