UNPKG

gcalendar-cli

Version:

Google Calendar cli tool for Node.js

18 lines (17 loc) 624 B
import { GCalEvent } from "../google-calendar/models/event"; export declare const verifyCalendarUrl: (url: string) => void; export declare const filterCalendarUrl: (urls: string[]) => string[]; export declare class HolidayCalendar { calendarUrls: string[]; holidays: Holiday[]; constructor(calendarUrls: string[]); prefetchRange(calendarClient: any, from: Date, to: Date): Promise<void>; isHoliday(date: Date): boolean; } export declare class Holiday { name: string; date: Date; calendarUrl: string; calendarName: string; static gen(gCalEvent: GCalEvent): Holiday; }