import type FirePlayer from 'fireplayer'

interface Config {
  control?: boolean
  setting?: boolean
  title?: string
  auto?: string
  getName?: (level: object) => string
}

declare const fireplayerPluginHlsControl: (option: { quality?: Config, audio?: Config }) => (fire: FirePlayer) => {
  name: 'fireplayerPluginHlsControl'
  update: () => void
}

export default fireplayerPluginHlsControl
