import { Command } from 'commander'; export interface CalendarEntry { id: string; name: string; url: string; windowDaysPast?: number; windowDaysFuture?: number; } export interface CalConfig { calendars: CalendarEntry[]; } /** Load config, auto-migrating legacy single-URL format. */ export declare function loadCalConfig(): Promise; export declare function saveCalConfig(cfg: CalConfig): Promise; export declare const calCommand: Command; export interface SyncCalendarResult { created: number; updated: number; unchanged: number; pruned: number; } /** * Sync calendar events from ICS feed(s) into the vault. * Headless — no console output. Throws on fatal errors. * * @param opts.calendarId - sync only this calendar; omit to sync all * @param opts.days - number of days ahead to sync (default: 60) */ export declare function syncCalendar(opts?: { calendarId?: string; }): Promise; export default calCommand; //# sourceMappingURL=cal.d.ts.map