import * as z from "zod"; /** Creates a Cal.com availability schedule. */ export declare const createCalcomSchedule: import("../../..").DefinedAction>, z.ZodType<{ id: number; ownerId: number; name: string; timeZone: string; availability: { days: ("Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "Sunday")[]; startTime: string; endTime: string; }[]; isDefault: boolean; overrides: { date: string; startTime: string; endTime: string; }[]; }, unknown, z.core.$ZodTypeInternals<{ id: number; ownerId: number; name: string; timeZone: string; availability: { days: ("Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "Sunday")[]; startTime: string; endTime: string; }[]; isDefault: boolean; overrides: { date: string; startTime: string; endTime: string; }[]; }, unknown>>, "calcom", false, never>; /** Lists the connected user's Cal.com schedules. */ export declare const listCalcomSchedules: import("../../..").DefinedAction, z.ZodType<{ id: number; ownerId: number; name: string; timeZone: string; availability: { days: ("Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "Sunday")[]; startTime: string; endTime: string; }[]; isDefault: boolean; overrides: { date: string; startTime: string; endTime: string; }[]; }[], unknown, z.core.$ZodTypeInternals<{ id: number; ownerId: number; name: string; timeZone: string; availability: { days: ("Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "Sunday")[]; startTime: string; endTime: string; }[]; isDefault: boolean; overrides: { date: string; startTime: string; endTime: string; }[]; }[], unknown>>, "calcom", false, never>; /** Retrieves the connected user's default Cal.com schedule. */ export declare const getDefaultCalcomSchedule: import("../../..").DefinedAction, z.ZodType<{ id: number; ownerId: number; name: string; timeZone: string; availability: { days: ("Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "Sunday")[]; startTime: string; endTime: string; }[]; isDefault: boolean; overrides: { date: string; startTime: string; endTime: string; }[]; } | null, unknown, z.core.$ZodTypeInternals<{ id: number; ownerId: number; name: string; timeZone: string; availability: { days: ("Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "Sunday")[]; startTime: string; endTime: string; }[]; isDefault: boolean; overrides: { date: string; startTime: string; endTime: string; }[]; } | null, unknown>>, "calcom", false, never>; /** Retrieves one Cal.com availability schedule. */ export declare const getCalcomSchedule: import("../../..").DefinedAction, z.ZodType<{ id: number; ownerId: number; name: string; timeZone: string; availability: { days: ("Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "Sunday")[]; startTime: string; endTime: string; }[]; isDefault: boolean; overrides: { date: string; startTime: string; endTime: string; }[]; } | null, unknown, z.core.$ZodTypeInternals<{ id: number; ownerId: number; name: string; timeZone: string; availability: { days: ("Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "Sunday")[]; startTime: string; endTime: string; }[]; isDefault: boolean; overrides: { date: string; startTime: string; endTime: string; }[]; } | null, unknown>>, "calcom", false, never>; /** Updates one Cal.com availability schedule. */ export declare const updateCalcomSchedule: import("../../..").DefinedAction, z.ZodType<{ name?: string | undefined; timeZone?: string | undefined; availability?: { days: ("Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "Sunday")[]; startTime: string; endTime: string; }[] | undefined; isDefault?: boolean | undefined; overrides?: { date: string; startTime: string; endTime: string; }[] | undefined; }, { name?: string | undefined; timeZone?: string | undefined; availability?: { days: ("Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "Sunday")[]; startTime: string; endTime: string; }[] | undefined; isDefault?: boolean | undefined; overrides?: { date: string; startTime: string; endTime: string; }[] | undefined; }, z.core.$ZodTypeInternals<{ name?: string | undefined; timeZone?: string | undefined; availability?: { days: ("Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "Sunday")[]; startTime: string; endTime: string; }[] | undefined; isDefault?: boolean | undefined; overrides?: { date: string; startTime: string; endTime: string; }[] | undefined; }, { name?: string | undefined; timeZone?: string | undefined; availability?: { days: ("Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "Sunday")[]; startTime: string; endTime: string; }[] | undefined; isDefault?: boolean | undefined; overrides?: { date: string; startTime: string; endTime: string; }[] | undefined; }>>>, z.ZodType<{ id: number; ownerId: number; name: string; timeZone: string; availability: { days: ("Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "Sunday")[]; startTime: string; endTime: string; }[]; isDefault: boolean; overrides: { date: string; startTime: string; endTime: string; }[]; }, unknown, z.core.$ZodTypeInternals<{ id: number; ownerId: number; name: string; timeZone: string; availability: { days: ("Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "Sunday")[]; startTime: string; endTime: string; }[]; isDefault: boolean; overrides: { date: string; startTime: string; endTime: string; }[]; }, unknown>>, "calcom", false, never>; /** Deletes one Cal.com availability schedule. */ export declare const deleteCalcomSchedule: import("../../..").DefinedAction, z.ZodType<{ status: "success" | "error"; }, { status: "success" | "error"; }, z.core.$ZodTypeInternals<{ status: "success" | "error"; }, { status: "success" | "error"; }>>, "calcom", false, never>; /** Lists the connected user's out-of-office entries. */ export declare const listCalcomOutOfOfficeEntries: import("../../..").DefinedAction; sortEnd: z.ZodOptional>; sortStart: z.ZodOptional>; take: z.ZodPrefault; }, z.core.$strip>, z.ZodType<{ userId: number; toUserId?: number | null | undefined; id: number; uuid: string; start: string; end: string; notes?: string | undefined; reason?: "unspecified" | "vacation" | "travel" | "sick" | "public_holiday" | undefined; }[], unknown, z.core.$ZodTypeInternals<{ userId: number; toUserId?: number | null | undefined; id: number; uuid: string; start: string; end: string; notes?: string | undefined; reason?: "unspecified" | "vacation" | "travel" | "sick" | "public_holiday" | undefined; }[], unknown>>, "calcom", false, never>; /** Creates an out-of-office entry for the connected user. */ export declare const createCalcomOutOfOfficeEntry: import("../../..").DefinedAction>, z.ZodType<{ userId: number; toUserId?: number | null | undefined; id: number; uuid: string; start: string; end: string; notes?: string | undefined; reason?: "unspecified" | "vacation" | "travel" | "sick" | "public_holiday" | undefined; }, unknown, z.core.$ZodTypeInternals<{ userId: number; toUserId?: number | null | undefined; id: number; uuid: string; start: string; end: string; notes?: string | undefined; reason?: "unspecified" | "vacation" | "travel" | "sick" | "public_holiday" | undefined; }, unknown>>, "calcom", false, never>; /** Updates one out-of-office entry for the connected user. */ export declare const updateCalcomOutOfOfficeEntry: import("../../..").DefinedAction, z.ZodType<{ start?: string | undefined; end?: string | undefined; notes?: string | undefined; toUserId?: number | undefined; reason?: "unspecified" | "vacation" | "travel" | "sick" | "public_holiday" | undefined; }, { start?: string | undefined; end?: string | undefined; notes?: string | undefined; toUserId?: number | undefined; reason?: "unspecified" | "vacation" | "travel" | "sick" | "public_holiday" | undefined; }, z.core.$ZodTypeInternals<{ start?: string | undefined; end?: string | undefined; notes?: string | undefined; toUserId?: number | undefined; reason?: "unspecified" | "vacation" | "travel" | "sick" | "public_holiday" | undefined; }, { start?: string | undefined; end?: string | undefined; notes?: string | undefined; toUserId?: number | undefined; reason?: "unspecified" | "vacation" | "travel" | "sick" | "public_holiday" | undefined; }>>>, z.ZodType<{ userId: number; toUserId?: number | null | undefined; id: number; uuid: string; start: string; end: string; notes?: string | undefined; reason?: "unspecified" | "vacation" | "travel" | "sick" | "public_holiday" | undefined; }, unknown, z.core.$ZodTypeInternals<{ userId: number; toUserId?: number | null | undefined; id: number; uuid: string; start: string; end: string; notes?: string | undefined; reason?: "unspecified" | "vacation" | "travel" | "sick" | "public_holiday" | undefined; }, unknown>>, "calcom", false, never>; /** Deletes one out-of-office entry for the connected user. */ export declare const deleteCalcomOutOfOfficeEntry: import("../../..").DefinedAction, z.ZodType<{ userId: number; toUserId?: number | null | undefined; id: number; uuid: string; start: string; end: string; notes?: string | undefined; reason?: "unspecified" | "vacation" | "travel" | "sick" | "public_holiday" | undefined; }, unknown, z.core.$ZodTypeInternals<{ userId: number; toUserId?: number | null | undefined; id: number; uuid: string; start: string; end: string; notes?: string | undefined; reason?: "unspecified" | "vacation" | "travel" | "sick" | "public_holiday" | undefined; }, unknown>>, "calcom", false, never>; /** Lists available slots for a personal, team, or dynamic Cal.com event. */ export declare const listCalcomAvailableSlots: import("../../..").DefinedAction; duration: z.ZodOptional; end: z.ZodUnion; eventTypeId: z.ZodOptional; eventTypeSlug: z.ZodOptional; format: z.ZodOptional>; organizationSlug: z.ZodOptional; start: z.ZodUnion; teamSlug: z.ZodOptional; timeZone: z.ZodOptional; username: z.ZodOptional; usernames: z.ZodOptional>; }, z.core.$strip>, z.ZodRecord; end: z.ZodOptional; seatsBooked: z.ZodOptional; seatsRemaining: z.ZodOptional; seatsTotal: z.ZodOptional; start: z.ZodString; }, z.core.$catchall>>>>>, "calcom", false, never>; /** Reserves an available Cal.com slot. */ export declare const reserveCalcomSlot: import("../../..").DefinedAction>, z.ZodType<{ eventTypeId: number; slotStart: string; slotEnd: string; slotDuration: number; reservationUid: string; reservationDuration: number; reservationUntil: string; }, unknown, z.core.$ZodTypeInternals<{ eventTypeId: number; slotStart: string; slotEnd: string; slotDuration: number; reservationUid: string; reservationDuration: number; reservationUntil: string; }, unknown>>, "calcom", false, never>; /** Retrieves one Cal.com slot reservation. */ export declare const getCalcomSlotReservation: import("../../..").DefinedAction, z.ZodNullable>, "calcom", false, never>; /** Updates one Cal.com slot reservation. */ export declare const updateCalcomSlotReservation: import("../../..").DefinedAction, z.ZodType<{ eventTypeId: number; slotStart: string; slotDuration?: number | undefined; reservationDuration?: number | undefined; }, { eventTypeId: number; slotStart: string; slotDuration?: number | undefined; reservationDuration?: number | undefined; }, z.core.$ZodTypeInternals<{ eventTypeId: number; slotStart: string; slotDuration?: number | undefined; reservationDuration?: number | undefined; }, { eventTypeId: number; slotStart: string; slotDuration?: number | undefined; reservationDuration?: number | undefined; }>>>, z.ZodType<{ eventTypeId: number; slotStart: string; slotEnd: string; slotDuration: number; reservationUid: string; reservationDuration: number; reservationUntil: string; }, unknown, z.core.$ZodTypeInternals<{ eventTypeId: number; slotStart: string; slotEnd: string; slotDuration: number; reservationUid: string; reservationDuration: number; reservationUntil: string; }, unknown>>, "calcom", false, never>; /** Deletes one Cal.com slot reservation. */ export declare const deleteCalcomSlotReservation: import("../../..").DefinedAction, z.ZodObject<{}, z.core.$strip>, "calcom", false, never>; /** Lists calendars connected to the current Cal.com account. */ export declare const listCalcomCalendars: import("../../..").DefinedAction, z.ZodType<{ connectedCalendars: { integration: { appData?: { [x: string]: never; } | null | undefined; dirName?: string | undefined; __template?: string | undefined; name: string; description: string; installed?: boolean | undefined; type: string; title?: string | undefined; variant: string; category?: string | undefined; categories: string[]; logo: string; publisher: string; slug: string; url: string; email: string; locationOption: { label: string; value: string; icon?: string | undefined; disabled: boolean; } | null; }; credentialId: number; delegationCredentialId?: string | null | undefined; primary?: { externalId: string; integration?: string | undefined; name?: string | undefined; primary: boolean | null; readOnly: boolean; email?: string | undefined; isSelected: boolean; credentialId: number; delegationCredentialId?: string | null | undefined; } | undefined; calendars?: { externalId: string; integration?: string | undefined; name?: string | undefined; primary?: boolean | null | undefined; readOnly: boolean; email?: string | undefined; isSelected: boolean; credentialId: number; delegationCredentialId?: string | null | undefined; }[] | undefined; }[]; destinationCalendar: { id: number; integration: string; externalId: string; primaryEmail: string | null; userId: number | null; eventTypeId: number | null; credentialId: number | null; delegationCredentialId?: string | null | undefined; name?: string | null | undefined; primary?: boolean | undefined; readOnly?: boolean | undefined; email?: string | undefined; integrationTitle?: string | undefined; }; }, unknown, z.core.$ZodTypeInternals<{ connectedCalendars: { integration: { appData?: { [x: string]: never; } | null | undefined; dirName?: string | undefined; __template?: string | undefined; name: string; description: string; installed?: boolean | undefined; type: string; title?: string | undefined; variant: string; category?: string | undefined; categories: string[]; logo: string; publisher: string; slug: string; url: string; email: string; locationOption: { label: string; value: string; icon?: string | undefined; disabled: boolean; } | null; }; credentialId: number; delegationCredentialId?: string | null | undefined; primary?: { externalId: string; integration?: string | undefined; name?: string | undefined; primary: boolean | null; readOnly: boolean; email?: string | undefined; isSelected: boolean; credentialId: number; delegationCredentialId?: string | null | undefined; } | undefined; calendars?: { externalId: string; integration?: string | undefined; name?: string | undefined; primary?: boolean | null | undefined; readOnly: boolean; email?: string | undefined; isSelected: boolean; credentialId: number; delegationCredentialId?: string | null | undefined; }[] | undefined; }[]; destinationCalendar: { id: number; integration: string; externalId: string; primaryEmail: string | null; userId: number | null; eventTypeId: number | null; credentialId: number | null; delegationCredentialId?: string | null | undefined; name?: string | null | undefined; primary?: boolean | undefined; readOnly?: boolean | undefined; email?: string | undefined; integrationTitle?: string | undefined; }; }, unknown>>, "calcom", false, never>; /** Retrieves busy intervals from selected connected calendars. */ export declare const getCalcomCalendarBusyTimes: import("../../..").DefinedAction>; dateFrom: z.ZodISODateTime; dateTo: z.ZodISODateTime; timeZone: z.ZodOptional; }, z.core.$strip>, z.ZodType<{ start: string; end: string; source?: string | null | undefined; }[], unknown, z.core.$ZodTypeInternals<{ start: string; end: string; source?: string | null | undefined; }[], unknown>>, "calcom", false, never>; //# sourceMappingURL=availability.d.ts.map