import type { Props as PlayerProps } from './player/type'

export interface Props {
  
  type?: 'video' | 'audio'

  
  mode?: 'normal' | 'view'

  
  src?: string

  
  fullPath?: boolean

  
  width?: string

  
  height?: string

  
  playerProps?: Omit<PlayerProps, 'visible' | 'type' | 'src'>

  
  needPreview?: boolean

  
  local?: boolean
}

export interface Emits {
  
  (e: 'visible-change', val: boolean): void
}
