/** * EPG Fetching Service * Fetches EPG data from multiple sources with fallback */ import type { EPGSource, EPGChannel, EPGProgram } from '../types'; /** * Default EPG Sources * iptv-org provides comprehensive international EPG with 30K+ channels * https://github.com/iptv-org/epg */ export declare const DEFAULT_EPG_SOURCES: EPGSource[]; /** * Fetch EPG data from a single source */ export declare function fetchEPGFromSource(source: EPGSource, proxyUrl?: string): Promise<{ channels: EPGChannel[]; programs: EPGProgram[]; }>; /** * Fetch EPG from multiple sources with fallback * Tries sources in priority order until one succeeds */ export declare function fetchEPG(sources?: EPGSource[], proxyUrl?: string): Promise<{ channels: EPGChannel[]; programs: EPGProgram[]; source: EPGSource; }>; /** * Fetch EPG for specific channels only (optimization) * This would require EPG sources that support filtering by channel IDs * For now, we fetch all and filter client-side */ export declare function fetchEPGForChannels(_channelIds: string[], sources?: EPGSource[], proxyUrl?: string): Promise<{ channels: EPGChannel[]; programs: EPGProgram[]; source: EPGSource; }>; //# sourceMappingURL=epg.d.ts.map