/** * EPG Matching Service * Matches EPG channels to our Channel objects using tvgId */ import type { Channel, EPGChannel, EPGProgram } from '../types'; /** * Match EPG channels to our Channel objects * Returns a map of channelId -> EPGProgram[] */ export declare function matchEPGToChannels(epgChannels: EPGChannel[], epgPrograms: EPGProgram[], channels: Channel[]): Map; /** * Get current program for a channel */ export declare function getCurrentProgram(programs: EPGProgram[], now?: Date): EPGProgram | null; /** * Get next program for a channel */ export declare function getNextProgram(programs: EPGProgram[], now?: Date): EPGProgram | null; /** * Get programs for a time range */ export declare function getProgramsInRange(programs: EPGProgram[], startTime: Date, endTime: Date): EPGProgram[]; /** * Get programs for a specific date */ export declare function getProgramsForDate(programs: EPGProgram[], date: Date): EPGProgram[]; /** * Search programs by title or description */ export declare function searchPrograms(programs: EPGProgram[], query: string): EPGProgram[]; //# sourceMappingURL=epg-matcher.d.ts.map