import mitt, { Emitter } from 'mitt'

export interface MittType {
  [key: string | symbol]: unknown
  refreshMsg: void
  refreshFeedMedium: void
  refreshBasicMedium: void
  refreshCell: void
  refreshLiquidBag: void
}

const emitter: Emitter<MittType> = mitt<MittType>()

export default emitter
