declare module 'ical.js' { function parse(input: string): Array; class Component { name: string; constructor(jCal: Array | string, parent?: Component); getFirstSubcomponent(name?: string): Component | null; getFirstPropertyValue(name?: string): any; getFirstProperty(name?: string): Property; getAllProperties(name?: string): Array; } class Event { uid: string; summary: string; startDate: Time; endDate: Time; description: string; location: string; attendees: Array; constructor(component?: Component | null, options?: {strictExceptions: boolean, exepctions: Array}); } class Property { name: string; type: string; getFirstValue(): any; getValues(): Array; toJSON(): any; } class Time { isDate: boolean; toJSDate(): Date; } }