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/runtime/client").JsonValue;
            description: string | null;
            price: number;
            owner: {
                hideBranding: boolean;
            } | null;
            team: {
                name: string;
                id: number;
                parentId: number | null;
            } | null;
            workflows: {
                workflow: {
                    name: string;
                    id: number;
                    time: number | null;
                    trigger: import('../../../../kysely/types.ts').WorkflowTriggerEvents;
                    userId: number | null;
                    teamId: number | null;
                    timeUnit: import('../../../../kysely/types.ts').TimeUnit | null;
                    steps: {
                        id: number;
                        template: import('../../../../kysely/types.ts').WorkflowTemplates;
                        action: import('../../../../kysely/types.ts').WorkflowActions;
                        sendTo: string | null;
                        reminderBody: string | null;
                        emailSubject: string | null;
                        numberRequired: boolean | null;
                        sender: string | null;
                        numberVerificationPending: boolean;
                        includeCalendarEvent: boolean;
                        verifiedAt: Date | null;
                    }[];
                };
            }[];
            hosts: {
                user: {
                    email: string;
                    destinationCalendar: {
                        primaryEmail: string | null;
                    } | null;
                };
            }[];
            currency: string;
            slug: string;
            teamId: number | null;
            parentId: number | null;
            bookingFields: import("@prisma/client/runtime/client").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/runtime/client").JsonValue;
                user: {
                    email: string;
                } | null;
                id: number;
                type: string;
                userId: number | null;
                teamId: number | null;
                appId: string | null;
                invalid: boolean | null;
                delegationCredentialId: string | null;
            }[];
            timeZone: string;
            timeFormat: number | null;
            isPlatformManaged: boolean;
            destinationCalendar: {
                id: number;
                userId: number | null;
                eventTypeId: number | null;
                createdAt: Date | null;
                updatedAt: Date | null;
                delegationCredentialId: string | null;
                integration: string;
                externalId: string;
                primaryEmail: string | null;
                credentialId: number | null;
                domainWideDelegationCredentialId: string | null;
            } | null;
        } | null;
        id: number;
        title: string;
        metadata: import("@prisma/client/runtime/client").JsonValue;
        status: import('../../../../kysely/types.ts').BookingStatus;
        description: string | null;
        paid: boolean;
        location: string | null;
        attendees: {
            name: string;
            id: number;
            email: string;
            locale: string | null;
            timeZone: string;
            phoneNumber: string | null;
            bookingId: number | null;
            noShow: boolean | null;
        }[];
        uid: string;
        userId: number | null;
        eventTypeId: number | null;
        startTime: Date;
        endTime: Date;
        userPrimaryEmail: string | null;
        customInputs: import("@prisma/client/runtime/client").JsonValue;
        responses: import("@prisma/client/runtime/client").JsonValue;
        smsReminderNumber: string | null;
        destinationCalendar: {
            id: number;
            userId: number | null;
            eventTypeId: number | null;
            createdAt: Date | null;
            updatedAt: Date | null;
            delegationCredentialId: string | null;
            integration: string;
            externalId: string;
            primaryEmail: string | null;
            credentialId: number | null;
            domainWideDelegationCredentialId: string | null;
        } | null;
    };
    user: Omit<Omit<{
        name: string | null;
        id: number;
        username: string | null;
        email: string;
        locale: string | null;
        credentials: {
            key: import("@prisma/client/runtime/client").JsonValue;
            user: {
                email: string;
            } | null;
            id: number;
            type: string;
            userId: number | null;
            teamId: number | null;
            appId: string | null;
            invalid: boolean | null;
            delegationCredentialId: string | null;
        }[];
        timeZone: string;
        timeFormat: number | null;
        isPlatformManaged: boolean;
        destinationCalendar: {
            id: number;
            userId: number | null;
            eventTypeId: number | null;
            createdAt: Date | null;
            updatedAt: Date | null;
            delegationCredentialId: string | null;
            integration: string;
            externalId: string;
            primaryEmail: string | null;
            credentialId: number | null;
            domainWideDelegationCredentialId: string | null;
        } | null;
    }, "credentials"> & {
        credentials: import("@calcom/types/Credential").CredentialForCalendarService[];
    }, "credentials"> & {
        credentials: {
            key: import("@prisma/client/runtime/client").JsonValue;
            user: {
                email: string;
            } | null;
            id: number;
            type: string;
            userId: number | null;
            teamId: number | null;
            appId: string | null;
            invalid: boolean | null;
            delegationCredentialId: string | null;
            delegatedToId?: string | null;
        }[];
    };
    evt: CalendarEvent;
    eventType: {
        metadata: {
            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;
                    scheduleId?: true | undefined;
                    createdAt?: true | undefined;
                    updatedAt?: 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;
                    lockedTimeZone?: true | undefined;
                    requiresConfirmation?: true | undefined;
                    requiresConfirmationWillBlockSlot?: true | undefined;
                    requiresConfirmationForFreeEmail?: true | undefined;
                    requiresBookerEmailVerification?: true | undefined;
                    canSendCalVideoTranscriptionEmails?: true | undefined;
                    autoTranslateDescriptionEnabled?: true | undefined;
                    autoTranslateInstantMeetingTitleEnabled?: 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;
                    showOptimizedSlots?: true | undefined;
                    disableCancelling?: true | undefined;
                    disableRescheduling?: true | undefined;
                    minimumRescheduleNotice?: true | undefined;
                    seatsShowAttendees?: true | undefined;
                    seatsShowAvailabilityCount?: true | undefined;
                    schedulingType?: 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;
                    bookingRequiresAuthentication?: true | undefined;
                    rrHostSubsetEnabled?: true | undefined;
                    customInputs?: true | undefined;
                    hashedLink?: true | undefined;
                    destinationCalendar?: 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;
                    hostGroups?: true | undefined;
                    _count?: true | undefined;
                } | undefined;
            } | undefined;
            requiresConfirmationThreshold?: {
                time: number;
                unit: "months" | "years" | "days" | "hours" | "minutes" | "milliseconds" | "seconds" | "dates";
            } | undefined;
            config?: {
                useHostSchedulesForTeamEvent?: boolean | undefined;
            } | undefined;
            bookerLayouts?: {
                enabledLayouts: import('../../../../prisma/zod-utils').BookerLayouts[];
                defaultLayout: import('../../../../prisma/zod-utils').BookerLayouts;
            } | null | undefined;
            apps?: Record<string, any> | undefined;
        } | null;
        id?: number | undefined;
        requiresConfirmation?: boolean | undefined;
        recurringEvent?: import("@prisma/client/runtime/client").JsonValue | undefined;
    };
}>;
//# sourceMappingURL=getBooking.d.ts.map