import { CalendarEvent, CreateEventDTO, UpdateEventDTO } from "@calchat/shared"; export interface EventRepository { findById(id: string): Promise; findByUserId(userId: string): Promise; findByDateRange( userId: string, startDate: Date, endDate: Date, ): Promise; findByCaldavUUID( userId: string, caldavUUID: string, ): Promise; searchByTitle(userId: string, query: string): Promise; create(userId: string, data: CreateEventDTO): Promise; update(id: string, data: UpdateEventDTO): Promise; delete(id: string): Promise; addExceptionDate(id: string, date: string): Promise; }