import { ICalendar } from '../../entities'; import { IAddEventCalendarPayload, ICalendarEvent, IEventOwnerFilter } from '../../entities/calendar.event.entity'; export declare class CalendarApi { static CALENDAR_EVENTS_ENDPOINT: string; static CALENDAR_ENDPOINT: string; static getAllEventsByOwner: (params: IEventOwnerFilter) => Promise>; static addEvent: (calendarId: string, params: IAddEventCalendarPayload) => Promise>>; static updateEvent: (calendarId: string, eventId: string, params: Partial) => Promise>>; static deleteEvent: (calendarId: string, eventId: string) => Promise>>; static findOne: (params?: { [key: string]: string | number; }) => Promise>; static update: (calendarId: string, calendar: Partial) => Promise>; }