import 'jest-extended'; import { Playlist } from './libs/shared/interfaces/src/lib/playlist.interface'; declare module 'video.js' { export interface VideoJsPlayer { hlsQualitySelector(options?: Record): void; } } declare global { interface Window { electron: { getAppVersion: () => Promise; platform: string; fetchPlaylistByUrl: ( url: string, title?: string ) => Promise; updatePlaylistFromFilePath: ( filePath: string, title: string ) => Promise; openPlaylistFromFile: () => Promise; setUserAgent: (userAgent: string, referer?: string) => void; openInMpv: ( url: string, path: string, title: string, userAgent: string, referer?: string, origin?: string ) => void; openInVlc: ( url: string, path: string, title: string, userAgent: string, referer?: string, origin?: string ) => void; autoUpdatePlaylists: (playlists: Playlist[]) => Promise; fetchEpg: (urls: string[]) => Promise; getChannelPrograms: (channelId: string) => Promise; updateSettings: (settings: any) => Promise; setMpvPlayerPath: (mpvPlayerPath: string) => Promise; setVlcPlayerPath: (vlcPlayerPath: string) => Promise; }; process: NodeJS.Process; require: NodeRequire; } } // SystemJS module definition declare const nodeModule: NodeModule; interface NodeModule { id: string; }