import { type CalendarEvent, type CalendarOccurrence, type ProductDeliveryEnvelope, type ProductReference } from '@xopcai/gateway-contract'; import type { CalendarService } from '../../calendar/index.js'; export declare function formatEventTimeSummary(event: Pick): string; export declare function calendarEventReference(event: CalendarEvent): ProductReference; export declare function calendarDeliveryForEvent(event: CalendarEvent, operation: 'created' | 'updated' | 'opened'): ProductDeliveryEnvelope; export declare function calendarDeliveryForList(events: CalendarEvent[], operation: 'created' | 'updated' | 'opened'): ProductDeliveryEnvelope | undefined; export declare function summarizeCalendarEvent(event: CalendarEvent): { createdBy: "user" | "agent"; revision: number; recurrence?: { freq: "daily" | "weekdays" | "weekly" | "monthly"; interval: number; exceptions: string[]; until?: string | null | undefined; count?: number | null | undefined; } | undefined; externalKey?: string | undefined; sourceUrl?: string | undefined; source: string; notes?: string | undefined; meetingUrl?: string | undefined; location?: string | undefined; id: string; title: string; startAt: string; endAt: string; allDay: boolean; timezone: string; status: "cancelled" | "confirmed" | "tentative"; category: "other" | "work" | "meeting" | "focus" | "personal" | "deadline"; }; export declare function summarizeCalendarOccurrence(occ: CalendarOccurrence): { revision: number; sourceUrl?: string | undefined; source: string; meetingUrl?: string | undefined; location?: string | undefined; occurrenceId: string; eventId: string; occurrenceDate: string; isRecurringInstance: boolean; title: string; startAt: string; endAt: string; allDay: boolean; timezone: string; status: "cancelled" | "confirmed" | "tentative"; category: "other" | "work" | "meeting" | "focus" | "personal" | "deadline"; }; export interface CalendarCommandOutcome { result: Record; delivery?: ProductDeliveryEnvelope; } export declare function executeCalendarCommand(calendar: CalendarService, command: string, args: Record, options?: { dryRun?: boolean; conversationId?: string; }): CalendarCommandOutcome;