import { ActivityType, Attendance, CalendarEvent, Duty } from '../models'; /** * Calendar Event Builder * ============================================================================= * Return a union record from Attendance/Duty, used for calendar and agenda * feeds in the Personnel application. Personnel performs further customization * in regards colours and item output text. * * - Attendance * - Type is derived from the parent activity. * - Not event activity (older teams) has a ref value * - Duty * - Not every duty has an assigned role. */ export declare class CalendarEventBuilder { attendance(attendance: Attendance): CalendarEvent; duty(duty: Duty): CalendarEvent; attendanceId({ activity, id }: { id: number; activity: { type: ActivityType; }; }): string; dutyId({ id }: { id: number; }): string; private activityType; private attendanceText; private dutyText; }