import { CalendarEvent } from '@calcom/types/Calendar';
export declare function getBooking(bookingId: number): Promise<{
    booking: {
        eventType: {
            price: number;
            owner: {
                hideBranding: boolean;
            } | null;
            title: string;
            description: string | null;
            team: {
                name: string;
                id: number;
                parentId: number | null;
            } | null;
            length: number;
            workflows: {
                workflow: {
                    name: string;
                    trigger: import('../../../../kysely/types.ts').WorkflowTriggerEvents;
                    time: number | null;
                    userId: number | null;
                    id: number;
                    teamId: number | null;
                    timeUnit: import('../../../../kysely/types.ts').TimeUnit | null;
                    steps: {
                        action: import('../../../../kysely/types.ts').WorkflowActions;
                        template: import('../../../../kysely/types.ts').WorkflowTemplates;
                        id: number;
                        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;
            metadata: import('@prisma/client/runtime/client').JsonValue;
            id: number;
            teamId: number | null;
            parentId: number | null;
            bookingFields: import('@prisma/client/runtime/client').JsonValue;
            requiresConfirmation: boolean;
            seatsPerTimeSlot: number | null;
            seatsShowAttendees: boolean | null;
            schedulingType: import('../../../../kysely/types.ts').SchedulingType | null;
            hideOrganizerEmail: boolean;
            customReplyToEmail: string | null;
            parent: {
                teamId: number | null;
            } | null;
        } | null;
        paid: boolean;
        location: string | null;
        title: string;
        description: string | null;
        attendees: {
            email: string;
            name: string;
            locale: string | null;
            id: number;
            phoneNumber: string | null;
            timeZone: string;
            bookingId: number | null;
            noShow: boolean | null;
        }[];
        status: import('../../../../kysely/types.ts').BookingStatus;
        user: {
            username: string | null;
            email: string;
            name: string | null;
            locale: string | null;
            id: number;
            credentials: {
                type: string;
                user: {
                    email: string;
                } | null;
                userId: number | null;
                key: import('@prisma/client/runtime/client').JsonValue;
                id: number;
                teamId: number | null;
                encryptedKey: string | null;
                appId: string | null;
                invalid: boolean | null;
                delegationCredentialId: string | null;
            }[];
            timeZone: string;
            timeFormat: number | null;
            isPlatformManaged: boolean;
            destinationCalendar: {
                userId: number | null;
                id: number;
                eventTypeId: number | null;
                createdAt: Date | null;
                updatedAt: Date | null;
                credentialId: number | null;
                delegationCredentialId: string | null;
                integration: string;
                externalId: string;
                primaryEmail: string | null;
                domainWideDelegationCredentialId: string | null;
                customCalendarReminder: number | null;
            } | null;
        } | null;
        uid: string;
        userId: number | null;
        metadata: import('@prisma/client/runtime/client').JsonValue;
        id: number;
        eventTypeId: number | null;
        createdAt: Date;
        userPrimaryEmail: string | null;
        customInputs: import('@prisma/client/runtime/client').JsonValue;
        responses: import('@prisma/client/runtime/client').JsonValue;
        startTime: Date;
        endTime: Date;
        smsReminderNumber: string | null;
        destinationCalendar: {
            userId: number | null;
            id: number;
            eventTypeId: number | null;
            createdAt: Date | null;
            updatedAt: Date | null;
            credentialId: number | null;
            delegationCredentialId: string | null;
            integration: string;
            externalId: string;
            primaryEmail: string | null;
            domainWideDelegationCredentialId: string | null;
            customCalendarReminder: number | null;
        } | null;
    };
    user: Omit<Omit<{
        username: string | null;
        email: string;
        name: string | null;
        locale: string | null;
        id: number;
        credentials: {
            type: string;
            user: {
                email: string;
            } | null;
            userId: number | null;
            key: import('@prisma/client/runtime/client').JsonValue;
            id: number;
            teamId: number | null;
            encryptedKey: string | null;
            appId: string | null;
            invalid: boolean | null;
            delegationCredentialId: string | null;
        }[];
        timeZone: string;
        timeFormat: number | null;
        isPlatformManaged: boolean;
        destinationCalendar: {
            userId: number | null;
            id: number;
            eventTypeId: number | null;
            createdAt: Date | null;
            updatedAt: Date | null;
            credentialId: number | null;
            delegationCredentialId: string | null;
            integration: string;
            externalId: string;
            primaryEmail: string | null;
            domainWideDelegationCredentialId: string | null;
            customCalendarReminder: number | null;
        } | null;
    }, "credentials"> & {
        credentials: import('@calcom/types/Credential').CredentialForCalendarService[];
    }, "credentials"> & {
        credentials: {
            type: string;
            user: {
                email: string;
            } | null;
            userId: number | null;
            key: import('@prisma/client/runtime/client').JsonValue;
            id: number;
            teamId: number | null;
            encryptedKey: string | null;
            appId: string | null;
            invalid: boolean | null;
            delegationCredentialId: string | null;
            delegatedToId?: string | null;
            appName?: string;
        }[];
    };
    evt: CalendarEvent;
    eventType: {
        metadata: {
            apps?: Record<string, any> | undefined;
            smartContractAddress?: string | undefined;
            blockchainId?: number | undefined;
            multipleDuration?: number[] | undefined;
            hideDurationSelectorInBookingPage?: boolean | undefined;
            giphyThankYouPage?: string | undefined;
            additionalNotesRequired?: boolean | undefined;
            disableSuccessPage?: boolean | undefined;
            disableStandardEmails?: {
                confirmation?: {
                    attendee?: boolean | undefined;
                    host?: boolean | undefined;
                } | undefined;
                all?: {
                    attendee?: boolean | undefined;
                    host?: boolean | undefined;
                } | undefined;
            } | undefined;
            managedEventConfig?: {
                unlockedFields?: {
                    bookings?: true | undefined;
                    schedule?: true | undefined;
                    profile?: true | undefined;
                    price?: true | undefined;
                    webhooks?: true | undefined;
                    owner?: true | undefined;
                    title?: true | undefined;
                    description?: true | undefined;
                    hidden?: true | undefined;
                    team?: true | undefined;
                    availability?: true | undefined;
                    length?: true | undefined;
                    workflows?: true | undefined;
                    users?: true | undefined;
                    hosts?: true | undefined;
                    currency?: true | undefined;
                    slug?: true | undefined;
                    children?: true | undefined;
                    userId?: true | undefined;
                    metadata?: 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;
                    redirectUrlOnNoRoutingFormResponse?: 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;
                    enablePerHostLocations?: 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: import('dayjs').UnitTypeLongPlural;
            } | undefined;
            config?: {
                useHostSchedulesForTeamEvent?: boolean | undefined;
            } | undefined;
            bookerLayouts?: {
                enabledLayouts: import('../../../../prisma/zod-utils').BookerLayouts[];
                defaultLayout: import('../../../../prisma/zod-utils').BookerLayouts;
            } | null | undefined;
        } | null;
        id?: number | undefined;
        requiresConfirmation?: boolean | undefined;
        recurringEvent?: import('@prisma/client/runtime/client').JsonValue | undefined;
    };
}>;
//# sourceMappingURL=getBooking.d.ts.map