import type FirePlayer from 'fireplayer'

interface Option {
  blur?: string
  opacity?: number
  frequency?: number
  zIndex?: number
  duration?: number
}

interface Result {
  name: 'fireplayerPluginAmbilight'
  start: () => void
  stop: () => void
}

declare const fireplayerPluginAmbilight: (option: Option) => (fire: FirePlayer) => Result

export default fireplayerPluginAmbilight
