import type { SelectedSlot } from "./dto/SelectedSlot"; export type TimeSlot = { utcStartIso: string; utcEndIso: string; }; export interface ISelectedSlotRepository { findReservedByOthers(args: { slot: TimeSlot; eventTypeId: number; uid: string; }): Promise; findManyReservedByOthers( slots: TimeSlot[], eventTypeId: number, uid: string ): Promise>>; findManyUnexpiredSlots(args: { userIds: number[]; currentTimeInUtc: string; }): Promise>>; deleteManyExpiredSlots(args: { eventTypeId: number; currentTimeInUtc: string }): Promise<{ count: number }>; }