import type VideoSendInfo from "@/plugins/video/mode/VideoSendInfo";

/**
 * 插件消息监听接口
 * 要实现的插件消息需要继承该接口
 */
interface IMessageEventPlugin<T> {
  //代码类型
  code: string

  //监听消息
  listener(videoSendInfo: VideoSendInfo<T>): void
}

export default IMessageEventPlugin
