interface Window {
  eventSource: EventSource
  existLoading: boolean
  requests: any[]
  tokenRefreshing: boolean
  unique: number
  /** teacher-electron 注入，仅在桌面客户端内嵌题库页时存在 */
  teacherApi?: {
    startSfu: () => Promise<{ port: number; already?: boolean }>
    stopSfu: () => Promise<void>
    openScreenShareWindow: () => Promise<void>
  }
}

interface Option {
  label: any
  value: any
}

declare module '*.json'
