import type { TDependencyData } from '../../app-store/_appRegistry';
import { getCalendar } from '../../app-store/_utils/getCalendar';
import { CalendarService } from '../../app-store/applecalendar/lib';
import { CalendarService as IcsFeedCalendarService } from '../../app-store/ics-feedcalendar/lib';
import type { CredentialOwner } from '../../app-store/types';
import { getAppFromSlug } from '../../app-store/utils';
import type { CredentialDataWithTeamName, LocationOption } from '../../app-store/utils';
import AttendeeCancelledEmail from "@calcom/emails/templates/attendee-cancelled-email";
import AttendeeDeclinedEmail from "@calcom/emails/templates/attendee-declined-email";
import AttendeeRequestEmail from "@calcom/emails/templates/attendee-request-email";
import AttendeeRescheduledEmail from "@calcom/emails/templates/attendee-rescheduled-email";
import AttendeeScheduledEmail from "@calcom/emails/templates/attendee-scheduled-email";
import AttendeeUpdatedEmail from "@calcom/emails/templates/attendee-updated-email";
import OrganizerCancelledEmail from "@calcom/emails/templates/organizer-cancelled-email";
import OrganizerReassignedEmail from "@calcom/emails/templates/organizer-reassigned-email";
import OrganizerRequestEmail from "@calcom/emails/templates/organizer-request-email";
import OrganizerRescheduledEmail from "@calcom/emails/templates/organizer-rescheduled-email";
import OrganizerScheduledEmail from "@calcom/emails/templates/organizer-scheduled-email";
import { getBookingForReschedule } from '../../features/bookings/lib/get-booking';
import { getBookingFieldsWithSystemFields } from '../../features/bookings/lib/getBookingFields';
import getBookingInfo from '../../features/bookings/lib/getBookingInfo';
import handleCancelBooking from '../../features/bookings/lib/handleCancelBooking';
import handleDeleteCredential from '../../features/credentials/handleDeleteCredential';
import { getClientSecretFromPayment } from '../../features/ee/payments/pages/getClientSecretFromPayment';
import { getPublicEvent } from '../../features/eventtypes/lib/getPublicEvent';
import { handleCreatePhoneCall } from '../../features/handleCreatePhoneCall';
import handleMarkNoShow from '../../features/handleMarkNoShow';
import getEnabledAppsFromCredentials from '../../lib/apps/getEnabledAppsFromCredentials';
import getAllUserBookings from '../../lib/bookings/getAllUserBookings';
import { symmetricEncrypt, symmetricDecrypt } from '../../lib/crypto';
import getBulkEventTypes from '../../lib/event-types/getBulkEventTypes';
import { getRoutedUrl } from '../../lib/server/getRoutedUrl';
import { getTeamMemberEmailForResponseOrContactUsingUrlQuery } from '../../lib/server/getTeamMemberEmailFromCrm';
import { getTranslation } from '../../lib/server/i18n';
import { MembershipRole } from '../../prisma/enums';
import { credentialForCalendarServiceSelect } from '../../prisma/selects/credential';
import { paymentDataSelect } from '../../prisma/selects/payment';
import type { TeamQuery } from '../../trpc/server/routers/loggedInViewer/integrations.handler';
import { updateHandler as updateScheduleHandler } from '../../trpc/server/routers/viewer/availability/schedule/update.handler';
import { getAvailableSlots } from '../../trpc/server/routers/viewer/slots/util';
import { createNewUsersConnectToOrgIfExists, sendSignupToOrganizationEmail } from '../../trpc/server/routers/viewer/teams/inviteMember/utils';
import type { App } from "@calcom/types/App";
import type { CredentialPayload } from "@calcom/types/Credential";
export { slugify } from '../../lib/slugify';
export { getBookingForReschedule };
export { updateScheduleHandler };
export type UpdateScheduleOutputType = Awaited<ReturnType<typeof import('../../trpc/server/routers/viewer/availability/schedule/update.handler').updateHandler>>;
export { getEventTypeById } from '../../lib/event-types/getEventTypeById';
export { getEventTypesByViewer } from '../../lib/event-types/getEventTypesByViewer';
export { getEventTypesPublic } from '../../lib/event-types/getEventTypesPublic';
export { createHandler as createEventType } from '../../trpc/server/routers/viewer/eventTypes/create.handler';
export { updateHandler as updateEventType } from '../../trpc/server/routers/viewer/eventTypes/update.handler';
export { SchedulingType, PeriodType } from '../../prisma/enums';
export type { EventType } from '../../lib/event-types/getEventTypeById';
export type { EventTypesByViewer } from '../../lib/event-types/getEventTypesByViewer';
export type { EventTypesPublic } from '../../lib/event-types/getEventTypesPublic';
export type { UpdateEventTypeReturn } from '../../trpc/server/routers/viewer/eventTypes/update.handler';
export type PublicEventType = Awaited<ReturnType<typeof getPublicEvent>>;
export { getPublicEvent };
export { getUsernameList } from '../../lib/defaultEvents';
declare const handleNewBooking: typeof import('../../features/bookings/lib/handleNewBooking').default;
export { handleNewBooking };
declare const handleInstantMeeting: typeof import('../../features/instant-meeting/handleInstantMeeting').default;
export { handleInstantMeeting };
export { handleMarkNoShow };
export { handleCreatePhoneCall };
export { getAvailableSlots };
export type AvailableSlotsType = Awaited<ReturnType<typeof getAvailableSlots>>;
export { handleNewRecurringBooking } from '../../features/bookings/lib/handleNewRecurringBooking';
export { getConnectedDestinationCalendarsAndEnsureDefaultsInDb } from '../../lib/getConnectedDestinationCalendars';
export type { ConnectedDestinationCalendars } from '../../lib/getConnectedDestinationCalendars';
export { getConnectedApps } from '../../lib/getConnectedApps';
export { bulkUpdateEventsToDefaultLocation } from '../../lib/bulkUpdateEventsToDefaultLocation';
export type { ConnectedApps } from '../../lib/getConnectedApps';
export { getBusyCalendarTimes } from "@calcom/core/CalendarManager";
export { transformWorkingHoursForAtom, transformAvailabilityForAtom, transformDateOverridesForAtom, transformApiScheduleAvailability, transformApiScheduleOverrides, } from '../../lib/schedules/transformers';
export type { BookingCreateBody, BookingResponse, RecurringBookingCreateBody, } from '../../features/bookings/types';
export { HttpError } from '../../lib/http-error';
export type { AppsStatus } from "@calcom/types/Calendar";
export { MINUTES_TO_BOOK } from '../../lib/constants';
export { cityTimezonesHandler } from '../../features/cityTimezones/cityTimezonesHandler';
export type { CityTimezones } from '../../features/cityTimezones/cityTimezonesHandler';
export { TRPCError } from "@trpc/server";
export type { TUpdateInputSchema } from '../../trpc/server/routers/viewer/availability/schedule/update.schema';
export type { TUpdateInputSchema as TUpdateEventTypeInputSchema } from '../../trpc/server/routers/viewer/eventTypes/update.schema';
export { createNewUsersConnectToOrgIfExists, sendSignupToOrganizationEmail };
export { getAllUserBookings };
export { getBookingInfo };
export { handleCancelBooking };
export { eventTypeBookingFields, eventTypeLocations } from '../../prisma/zod-utils';
export { EventTypeMetaDataSchema, userMetadata, bookingMetadataSchema } from '../../prisma/zod-utils';
export { transformBookingFieldsApiToInternal, transformLocationsApiToInternal, transformIntervalLimitsApiToInternal, transformFutureBookingLimitsApiToInternal, transformRecurrenceApiToInternal, transformBookerLayoutsApiToInternal, transformConfirmationPolicyApiToInternal, transformEventColorsApiToInternal, transformSeatsApiToInternal, transformBookingFieldsInternalToApi, transformLocationsInternalToApi, transformIntervalLimitsInternalToApi, transformFutureBookingLimitsInternalToApi, transformRecurrenceInternalToApi, transformBookerLayoutsInternalToApi, transformRequiresConfirmationInternalToApi, transformEventTypeColorsInternalToApi, transformSeatsInternalToApi, InternalLocationsSchema, InternalLocationSchema, BookingFieldsSchema, BookingFieldSchema, systemBeforeFieldName, systemBeforeFieldEmail, systemBeforeFieldLocation, systemAfterFieldRescheduleReason, systemAfterFieldTitle, systemAfterFieldNotes, systemAfterFieldGuests, } from '../../lib/event-types/transformers';
export type { SystemField, CustomField, NameSystemField, EmailSystemField, InternalLocation, } from '../../lib/event-types/transformers';
export { parseBookingLimit, parseEventTypeColor } from '../../lib';
export { parseRecurringEvent } from '../../lib/isRecurringEvent';
export { dynamicEvent } from '../../lib/defaultEvents';
export { symmetricEncrypt, symmetricDecrypt };
export { CalendarService };
export { getCalendar };
export { getTranslation };
export { updateNewTeamMemberEventTypes } from '../../lib/server/queries';
export { roundRobinReassignment } from '../../features/ee/round-robin/roundRobinReassignment';
export { roundRobinManualReassignment } from '../../features/ee/round-robin/roundRobinManualReassignment';
export { ErrorCode } from '../../lib/errorCodes';
export { IcsFeedCalendarService };
export { validateCustomEventName } from "@calcom/core/event";
export { getEnabledAppsFromCredentials };
export type { App };
export type { CredentialDataWithTeamName };
export type { LocationOption };
export type { TeamQuery };
export type { CredentialOwner };
export type { TDependencyData };
export type { CredentialPayload };
export { getAppFromSlug };
export { credentialForCalendarServiceSelect };
export { MembershipRole };
export { paymentDataSelect };
export { getClientSecretFromPayment };
export { confirmHandler as confirmBookingHandler } from '../../trpc/server/routers/viewer/bookings/confirm.handler';
export { AttendeeScheduledEmail };
export { OrganizerScheduledEmail };
export { AttendeeDeclinedEmail };
export { AttendeeCancelledEmail };
export { OrganizerCancelledEmail };
export { OrganizerReassignedEmail };
export { OrganizerRescheduledEmail };
export { AttendeeRescheduledEmail };
export { AttendeeUpdatedEmail };
export { OrganizerRequestEmail };
export { AttendeeRequestEmail };
export { handleDeleteCredential };
export { getBulkEventTypes };
export { getBookingFieldsWithSystemFields };
export { getRoutedUrl };
export { getTeamMemberEmailForResponseOrContactUsingUrlQuery };
export { createHandler as createApiKeyHandler } from '../../trpc/server/routers/viewer/apiKeys/create.handler';
//# sourceMappingURL=index.d.ts.map