/** * If required, this method allows to handle steps related to the event's archiving or deletion from the frontend. It * opens either a form to edit and send the cancellation email or a form allowing to select which events of the event's * recurrence must be archived or deleted. */ export function useArchiveOrUnlinkCalendarEvent(): ({ requestedAction, resId, isDraft, partnerIds, recurrency, start, defaultAction, nextAction }: { requestedAction: any; resId: any; isDraft: any; partnerIds: any; recurrency: any; start: any; defaultAction: any; nextAction: any; }) => Promise; /** * Display modals to send cancellation emails or select the events to delete or archive in the recurrency. */ export function useArchiveOrUnlinkCalendarEvents(): ({ requestedAction, records, defaultAction }: { requestedAction: any; records: any; defaultAction: any; }) => Promise;