export type Dict = Record; export interface PlaylistHeader { tvgUrls: string[]; tvgShift?: number; userAgent?: string; catchup?: string; catchupSource?: string; catchupHours?: number; catchupDays?: number; timeshift?: number; rawAttrs: Dict; } export interface HttpHints { userAgent?: string; referer?: string; cookie?: string; headers?: Dict; } export interface Entry { name: string; url: string; duration?: number; group?: string[]; tvg?: { id?: string; name?: string; logo?: string; chno?: string; }; http?: HttpHints; kodiProps?: Dict; attrs: Dict; extras?: Record; } export interface Playlist { header: PlaylistHeader; items: Entry[]; warnings: string[]; } export interface XtreamCredentials { host: string; username: string; password: string; } export interface XtreamQueryInfo extends XtreamCredentials { type?: string; output?: string; category?: string; }