/** * Calendar helpers — event parsing and date handling. */ import type { calendar_v3 } from '@googleapis/calendar'; import type { CalendarEvent, Attendee, CalendarInfo, WorkingLocationProperties, OutOfOfficeProperties, FocusTimeProperties, BirthdayProperties } from './types.js'; /** Parse a raw Calendar API event into our CalendarEvent shape */ export declare function parseEvent(raw: calendar_v3.Schema$Event): CalendarEvent; /** Parse working location properties */ export declare function parseWorkingLocation(raw: calendar_v3.Schema$EventWorkingLocationProperties): WorkingLocationProperties; /** Parse out-of-office properties */ export declare function parseOutOfOffice(raw: calendar_v3.Schema$EventOutOfOfficeProperties): OutOfOfficeProperties; /** Parse focus time properties */ export declare function parseFocusTime(raw: calendar_v3.Schema$EventFocusTimeProperties): FocusTimeProperties; /** Parse birthday properties */ export declare function parseBirthday(raw: calendar_v3.Schema$EventBirthdayProperties): BirthdayProperties; /** Parse an attendee */ export declare function parseAttendee(raw: calendar_v3.Schema$EventAttendee): Attendee; /** Parse a calendar list entry */ export declare function parseCalendar(raw: calendar_v3.Schema$CalendarListEntry): CalendarInfo; /** Build event request body from EventOptions */ export declare function buildEventBody(opts: { summary: string; description?: string; start: string; end: string; timeZone?: string; location?: string; attendees?: string[]; allDay?: boolean; eventType?: 'default' | 'outOfOffice' | 'workingLocation' | 'focusTime'; outOfOffice?: OutOfOfficeProperties; workingLocation?: WorkingLocationProperties; focusTime?: FocusTimeProperties; }): calendar_v3.Schema$Event; //# sourceMappingURL=helpers.d.ts.map