import type { calendar_v3 } from '@googleapis/calendar'; import { type Optional } from '../../lib/optionality.js'; /** * Apply attendee email deltas to a REST attendee array: drop the removed * addresses, then append the added ones as bare attendees. Addresses compare * case-insensitively, and an added address that is already on the list is * skipped rather than duplicated. */ export declare function applyAttendeeDeltas(attendees: calendar_v3.Schema$EventAttendee[], deltas: { added?: Optional; removed?: Optional; }): calendar_v3.Schema$EventAttendee[]; /** * Rewrite the self attendee's invitation response in a REST attendee array: * set its `responseStatus` and, when a comment is given, its `comment`, * leaving every other attendee untouched. Throws when no attendee carries * `self: true`: the authenticated user is not on the guest list, so there is * no response of theirs to rewrite. */ export declare function respondAsSelf(attendees: calendar_v3.Schema$EventAttendee[], response: { responseStatus: 'declined' | 'tentative' | 'accepted'; comment?: Optional; }): calendar_v3.Schema$EventAttendee[]; //# sourceMappingURL=attendees.d.ts.map