+import { VideoFile } from '@shared/models'
+import videojs from 'video.js'
+import { Config, Level } from 'hls.js'
+
+declare module 'video.js' {
+
+ export interface VideoJsPlayer {
+ srOptions_: HlsjsConfigHandlerOptions
+
+ theaterEnabled: boolean
+
+ // FIXME: add it to upstream typings
+ posterImage: {
+ show (): void
+ hide (): void
+ }
+
+ handleTechSeeked_ (): void
+
+ // Plugins