import type { CalendarEvent } from "@calcom/types/Calendar";
export declare function getBooking(bookingId: number): Promise<{
    booking: {
        eventType: {
            id: number;
            length: number;
            title: string;
            metadata: import('../../prisma-client').Prisma.JsonValue;
            description: string | null;
            price: number;
            team: {
                name: string;
                id: number;
                parentId: number | null;
            } | null;
            workflows: {
                workflow: {
                    name: string;
                    id: number;
                    time: number | null;
                    trigger: import('../../prisma-client').$Enums.WorkflowTriggerEvents;
                    userId: number | null;
                    teamId: number | null;
                    steps: {
                        id: number;
                        template: import('../../prisma-client').$Enums.WorkflowTemplates;
                        action: import('../../prisma-client').$Enums.WorkflowActions;
                        sendTo: string | null;
                        reminderBody: string | null;
                        emailSubject: string | null;
                        numberRequired: boolean | null;
                        sender: string | null;
                        numberVerificationPending: boolean;
                        includeCalendarEvent: boolean;
                        verifiedAt: Date | null;
                    }[];
                    timeUnit: import('../../prisma-client').$Enums.TimeUnit | null;
                };
            }[];
            currency: string;
            slug: string;
            teamId: number | null;
            parentId: number | null;
            bookingFields: import('../../prisma-client').Prisma.JsonValue;
            requiresConfirmation: boolean;
            hideOrganizerEmail: boolean;
            customReplyToEmail: string | null;
            parent: {
                teamId: number | null;
            } | null;
        } | null;
        user: {
            name: string | null;
            id: number;
            username: string | null;
            email: string;
            locale: string | null;
            credentials: {
                key: import('../../prisma-client').Prisma.JsonValue;
                user: {
                    email: string;
                } | null;
                id: number;
                type: string;
                userId: number | null;
                teamId: number | null;
                delegationCredentialId: string | null;
                appId: string | null;
                invalid: boolean | null;
            }[];
            timeZone: string;
            destinationCalendar: {
                id: number;
                userId: number | null;
                credentialId: number | null;
                eventTypeId: number | null;
                integration: string;
                externalId: string;
                primaryEmail: string | null;
                delegationCredentialId: string | null;
                domainWideDelegationCredentialId: string | null;
            } | null;
            timeFormat: number | null;
            isPlatformManaged: boolean;
        } | null;
        id: number;
        title: string;
        metadata: import('../../prisma-client').Prisma.JsonValue;
        status: import('../../prisma-client').$Enums.BookingStatus;
        description: string | null;
        paid: boolean;
        location: string | null;
        attendees: {
            name: string;
            id: number;
            email: string;
            locale: string | null;
            timeZone: string;
            bookingId: number | null;
            phoneNumber: string | null;
            noShow: boolean | null;
        }[];
        uid: string;
        userId: number | null;
        eventTypeId: number | null;
        destinationCalendar: {
            id: number;
            userId: number | null;
            credentialId: number | null;
            eventTypeId: number | null;
            integration: string;
            externalId: string;
            primaryEmail: string | null;
            delegationCredentialId: string | null;
            domainWideDelegationCredentialId: string | null;
        } | null;
        customInputs: import('../../prisma-client').Prisma.JsonValue;
        smsReminderNumber: string | null;
        responses: import('../../prisma-client').Prisma.JsonValue;
        startTime: Date;
        endTime: Date;
        userPrimaryEmail: string | null;
    };
    user: Omit<Omit<{
        name: string | null;
        id: number;
        username: string | null;
        email: string;
        locale: string | null;
        credentials: {
            key: import('../../prisma-client').Prisma.JsonValue;
            user: {
                email: string;
            } | null;
            id: number;
            type: string;
            userId: number | null;
            teamId: number | null;
            delegationCredentialId: string | null;
            appId: string | null;
            invalid: boolean | null;
        }[];
        timeZone: string;
        destinationCalendar: {
            id: number;
            userId: number | null;
            credentialId: number | null;
            eventTypeId: number | null;
            integration: string;
            externalId: string;
            primaryEmail: string | null;
            delegationCredentialId: string | null;
            domainWideDelegationCredentialId: string | null;
        } | null;
        timeFormat: number | null;
        isPlatformManaged: boolean;
    }, "credentials"> & {
        credentials: import("@calcom/types/Credential").CredentialForCalendarService[];
    }, "credentials"> & {
        credentials: {
            key: import('../../prisma-client').Prisma.JsonValue;
            user: {
                email: string;
            } | null;
            id: number;
            type: string;
            userId: number | null;
            teamId: number | null;
            delegationCredentialId: string | null;
            appId: string | null;
            invalid: boolean | null;
            delegatedToId?: string | null;
        }[];
    };
    evt: CalendarEvent;
    eventType: {
        metadata: {
            config?: {
                useHostSchedulesForTeamEvent?: boolean | undefined;
            } | undefined;
            smartContractAddress?: string | undefined;
            blockchainId?: number | undefined;
            multipleDuration?: number[] | undefined;
            giphyThankYouPage?: string | undefined;
            additionalNotesRequired?: boolean | undefined;
            disableSuccessPage?: boolean | undefined;
            disableStandardEmails?: {
                all?: {
                    host?: boolean | undefined;
                    attendee?: boolean | undefined;
                } | undefined;
                confirmation?: {
                    host?: boolean | undefined;
                    attendee?: boolean | undefined;
                } | undefined;
            } | undefined;
            managedEventConfig?: {
                unlockedFields?: {
                    schedule?: true | undefined;
                    profile?: true | undefined;
                    bookings?: true | undefined;
                    users?: true | undefined;
                    children?: true | undefined;
                    length?: true | undefined;
                    title?: true | undefined;
                    metadata?: true | undefined;
                    description?: true | undefined;
                    price?: true | undefined;
                    webhooks?: true | undefined;
                    owner?: true | undefined;
                    hidden?: true | undefined;
                    team?: true | undefined;
                    availability?: true | undefined;
                    workflows?: true | undefined;
                    hosts?: true | undefined;
                    currency?: true | undefined;
                    slug?: true | undefined;
                    userId?: true | undefined;
                    interfaceLanguage?: true | undefined;
                    position?: true | undefined;
                    locations?: true | undefined;
                    offsetStart?: true | undefined;
                    profileId?: true | undefined;
                    teamId?: true | undefined;
                    useEventLevelSelectedCalendars?: true | undefined;
                    eventName?: true | undefined;
                    parentId?: true | undefined;
                    bookingFields?: true | undefined;
                    timeZone?: true | undefined;
                    periodType?: true | undefined;
                    periodStartDate?: true | undefined;
                    periodEndDate?: true | undefined;
                    periodDays?: true | undefined;
                    periodCountCalendarDays?: true | undefined;
                    lockTimeZoneToggleOnBookingPage?: true | undefined;
                    requiresConfirmation?: true | undefined;
                    requiresConfirmationWillBlockSlot?: true | undefined;
                    requiresConfirmationForFreeEmail?: true | undefined;
                    requiresBookerEmailVerification?: true | undefined;
                    canSendCalVideoTranscriptionEmails?: true | undefined;
                    autoTranslateDescriptionEnabled?: true | undefined;
                    recurringEvent?: true | undefined;
                    disableGuests?: true | undefined;
                    hideCalendarNotes?: true | undefined;
                    hideCalendarEventDetails?: true | undefined;
                    minimumBookingNotice?: true | undefined;
                    beforeEventBuffer?: true | undefined;
                    afterEventBuffer?: true | undefined;
                    seatsPerTimeSlot?: true | undefined;
                    onlyShowFirstAvailableSlot?: true | undefined;
                    disableCancelling?: true | undefined;
                    disableRescheduling?: true | undefined;
                    seatsShowAttendees?: true | undefined;
                    seatsShowAvailabilityCount?: true | undefined;
                    schedulingType?: true | undefined;
                    scheduleId?: true | undefined;
                    allowReschedulingCancelledBookings?: true | undefined;
                    slotInterval?: true | undefined;
                    successRedirectUrl?: true | undefined;
                    forwardParamsSuccessRedirect?: true | undefined;
                    bookingLimits?: true | undefined;
                    durationLimits?: true | undefined;
                    isInstantEvent?: true | undefined;
                    instantMeetingExpiryTimeOffsetInSeconds?: true | undefined;
                    instantMeetingScheduleId?: true | undefined;
                    instantMeetingParameters?: true | undefined;
                    assignAllTeamMembers?: true | undefined;
                    assignRRMembersUsingSegment?: true | undefined;
                    rrSegmentQueryValue?: true | undefined;
                    useEventTypeDestinationCalendarEmail?: true | undefined;
                    isRRWeightsEnabled?: true | undefined;
                    maxLeadThreshold?: true | undefined;
                    includeNoShowInRRCalculation?: true | undefined;
                    allowReschedulingPastBookings?: true | undefined;
                    hideOrganizerEmail?: true | undefined;
                    maxActiveBookingsPerBooker?: true | undefined;
                    maxActiveBookingPerBookerOfferReschedule?: true | undefined;
                    customReplyToEmail?: true | undefined;
                    eventTypeColor?: true | undefined;
                    rescheduleWithSameRoundRobinHost?: true | undefined;
                    secondaryEmailId?: true | undefined;
                    useBookerTimezone?: true | undefined;
                    restrictionScheduleId?: true | undefined;
                    hashedLink?: true | undefined;
                    destinationCalendar?: true | undefined;
                    customInputs?: true | undefined;
                    parent?: true | undefined;
                    instantMeetingSchedule?: true | undefined;
                    aiPhoneCallConfig?: true | undefined;
                    fieldTranslations?: true | undefined;
                    selectedCalendars?: true | undefined;
                    calVideoSettings?: true | undefined;
                    secondaryEmail?: true | undefined;
                    restrictionSchedule?: true | undefined;
                    _count?: true | undefined;
                } | undefined;
            } | undefined;
            requiresConfirmationThreshold?: {
                time: number;
                unit: "months" | "years" | "days" | "hours" | "minutes" | "milliseconds" | "seconds" | "dates";
            } | undefined;
            bookerLayouts?: {
                enabledLayouts: import('../../prisma/zod-utils').BookerLayouts[];
                defaultLayout: import('../../prisma/zod-utils').BookerLayouts;
            } | null | undefined;
            apps?: unknown;
        } | null;
        id?: number | undefined;
        requiresConfirmation?: boolean | undefined;
        recurringEvent?: import('../../prisma-client').Prisma.JsonValue | undefined;
    };
}>;
//# sourceMappingURL=getBooking.d.ts.map