export type Device = {
  id: string
  productId: string
  deviceId: string
  deviceName: string
  
  authType: number
  [key: string]: any
}

export interface Props {
  visible: boolean
  deviceList: Device[]
  gridNum: number
  
  source?: string
  
  isHls?: boolean
  
  draggable?: boolean
  
  resizable?: boolean
  
  dialogTitle?: string
  
  baseURL?: string
  
  handleClick?: (type: 'MUTE' | 'UNMUTE' | 'SCREENSHOT') => void
}

export interface Emits {
  (e: 'update:visible', value: boolean): void
}
