import { Component } from '../component'; import { CalendarEvent } from './CalendarEvent'; /** * Represents a VCALENDAR component, the root component of an iCalendar file. */ export declare class Calendar extends Component { name: string; /** * @param prodid A unique identifier of the program creating the calendar. * @example * new Calendar('-//Google Inc//Google Calendar 70.9054//EN') */ constructor(prodid: string); /** * @param prodid A unique identifier of the program creating the calendar. * @param version The version of the iCalendar specification that this calendar uses. * @example * new Calendar('-//Google Inc//Google Calendar 70.9054//EN') */ constructor(prodid: string, version: string); /** * @param component A VCALENDAR component. */ constructor(component: Component); validate(): void; getEvents(): CalendarEvent[]; removeEvent(event: CalendarEvent): boolean; removeEvent(uid: string): boolean; getProductId(): string; setProductId(value: string): this; getVersion(): string; setVersion(value: string): this; getCalendarScale(): string | undefined; setCalendarScale(value: string): this; removeCalendarScale(): void; getMethod(): string | undefined; setMethod(value: string): this; removeMethod(): void; getCalendarName(): string | undefined; setCalendarName(value: string): this; removeCalendarName(): void; getCalendarDescription(): string | undefined; setCalendarDescription(value: string): this; removeCalendarDescription(): void; } //# sourceMappingURL=Calendar.d.ts.map