export type useEventReturnType = ReturnType<typeof useEvent>;
export type useScheduleForEventReturnType = ReturnType<typeof useScheduleForEvent>;
/**
 * Wrapper hook around the trpc query that fetches
 * the event currently viewed in the booker. It will get
 * the current event slug and username from the booker store.
 *
 * Using this hook means you only need to use one hook, instead
 * of combining multiple conditional hooks.
 */
export declare const useEvent: (props?: {
    fromRedirectOfNonOrgLink?: boolean;
    disabled?: boolean;
}) => {
    data: {
        bookingFields: {
            name: string;
            type: "number" | "boolean" | "url" | "phone" | "name" | "address" | "select" | "textarea" | "text" | "checkbox" | "radio" | "email" | "multiemail" | "multiselect" | "radioInput";
            label?: string | undefined;
            price?: number | undefined;
            required?: boolean | undefined;
            placeholder?: string | undefined;
            options?: {
                label: string;
                value: string;
                price?: number | undefined;
            }[] | undefined;
            labelAsSafeHtml?: string | undefined;
            defaultLabel?: string | undefined;
            defaultPlaceholder?: string | undefined;
            getOptionsAt?: string | undefined;
            optionsInputs?: Record<string, {
                type: "phone" | "address" | "text";
                required?: boolean | undefined;
                placeholder?: string | undefined;
            }> | undefined;
            minLength?: number | undefined;
            maxLength?: number | undefined;
            excludeEmails?: string | undefined;
            requireEmails?: string | undefined;
            variant?: string | undefined;
            variantsConfig?: {
                variants: Record<string, {
                    fields: {
                        name: string;
                        type: "number" | "boolean" | "url" | "phone" | "name" | "address" | "select" | "textarea" | "text" | "checkbox" | "radio" | "email" | "multiemail" | "multiselect" | "radioInput";
                        label?: string | undefined;
                        price?: number | undefined;
                        required?: boolean | undefined;
                        placeholder?: string | undefined;
                        labelAsSafeHtml?: string | undefined;
                        minLength?: number | undefined;
                        maxLength?: number | undefined;
                        excludeEmails?: string | undefined;
                        requireEmails?: string | undefined;
                    }[];
                }>;
            } | undefined;
            views?: {
                id: string;
                label: string;
                description?: string | undefined;
            }[] | undefined;
            hideWhenJustOneOption?: boolean | undefined;
            hidden?: boolean | undefined;
            editable?: "user" | "system" | "system-but-optional" | "system-but-hidden" | "user-readonly" | undefined;
            sources?: {
                id: string;
                type: string;
                label: string;
                editUrl?: string | undefined;
                fieldRequired?: boolean | undefined;
            }[] | undefined;
            disableOnPrefill?: boolean | undefined;
        }[] & import("zod").BRAND<"HAS_SYSTEM_FIELDS">;
        subsetOfUsers: ({
            metadata: undefined;
            bookerUrl: string;
            profile: import("@calcom/types/UserProfile").UserAsPersonalProfile;
            name: string | null;
            id: number;
            username: string | null;
            email: string;
            teams: {
                id: number;
                role: import('../../../../kysely/types.ts').MembershipRole;
                userId: number;
                createdAt: Date | null;
                updatedAt: Date | null;
                teamId: number;
                disableImpersonation: boolean;
                accepted: boolean;
                customRoleId: string | null;
            }[];
            bio: string | null;
            theme: string | null;
            verified: boolean | null;
            locked: boolean;
            locale: string | null;
            timeZone: string;
            requiresBookerEmailVerification: boolean | null;
            emailVerified: Date | null;
            avatarUrl: string | null;
            weekStart: string;
            startTime: number;
            endTime: number;
            bufferTime: number;
            hideBranding: boolean;
            createdDate: Date;
            trialEndsAt: Date | null;
            lastActiveAt: Date | null;
            completedOnboarding: boolean;
            timeFormat: number | null;
            twoFactorSecret: string | null;
            twoFactorEnabled: boolean;
            backupCodes: string | null;
            identityProvider: import('../../../../kysely/types.ts').IdentityProvider;
            identityProviderId: string | null;
            invitedTo: number | null;
            brandColor: string | null;
            darkBrandColor: string | null;
            allowDynamicBooking: boolean | null;
            allowSEOIndexing: boolean | null;
            receiveMonthlyDigestEmail: boolean | null;
            disableImpersonation: boolean;
            movedToProfileId: number | null;
            isPlatformManaged: boolean;
        } | {
            metadata: undefined;
            bookerUrl: string;
            profile: {
                organization: Omit<{
                    name: string;
                    id: number;
                    metadata: import("@prisma/client/runtime/client").JsonValue;
                    theme: string | null;
                    slug: string | null;
                    hideBranding: boolean;
                    brandColor: string | null;
                    darkBrandColor: string | null;
                    logoUrl: string | null;
                    bannerUrl: string | null;
                    isPlatform: boolean;
                    organizationSettings: {
                        allowSEOIndexing: boolean;
                        orgProfileRedirectsToVerifiedDomain: boolean;
                        disableAutofillOnBookingPage: boolean;
                    } | null;
                } & Omit<Pick<{
                    name: string;
                    id: number;
                    metadata: import("@prisma/client/runtime/client").JsonValue | null;
                    bio: string | null;
                    theme: string | null;
                    slug: string | null;
                    createdAt: Date;
                    parentId: number | null;
                    timeZone: string;
                    bookingLimits: import("@prisma/client/runtime/client").JsonValue | null;
                    weekStart: string;
                    hideBranding: boolean;
                    timeFormat: number | null;
                    brandColor: string | null;
                    darkBrandColor: string | null;
                    smsLockState: import('../../../../kysely/types.ts').SMSLockState;
                    smsLockReviewedByAdmin: boolean;
                    logoUrl: string | null;
                    calVideoLogo: string | null;
                    appLogo: string | null;
                    appIconLogo: string | null;
                    hideTeamProfileLink: boolean;
                    isPrivate: boolean;
                    hideBookATeamMember: boolean;
                    rrResetInterval: import('../../../../kysely/types.ts').RRResetInterval | null;
                    rrTimestampBasis: import('../../../../kysely/types.ts').RRTimestampBasis;
                    bannerUrl: string | null;
                    isOrganization: boolean;
                    pendingPayment: boolean;
                    isPlatform: boolean;
                    createdByOAuthClientId: string | null;
                    includeManagedEventsInLimits: boolean;
                }, "name" | "id" | "metadata" | "theme" | "slug" | "hideBranding" | "brandColor" | "darkBrandColor" | "logoUrl" | "bannerUrl" | "isPlatform">, "metadata"> & {
                    requestedSlug: string | null;
                    metadata: {
                        requestedSlug: string | null;
                        defaultConferencingApp?: {
                            appSlug?: string | undefined;
                            appLink?: string | undefined;
                        } | undefined;
                        paymentId?: string | undefined;
                        subscriptionId?: string | null | undefined;
                        subscriptionItemId?: string | null | undefined;
                        orgSeats?: number | null | undefined;
                        orgPricePerSeat?: number | null | undefined;
                        migratedToOrgFrom?: {
                            teamSlug?: string | null | undefined;
                            lastMigrationTime?: string | undefined;
                            reverted?: boolean | undefined;
                            lastRevertTime?: string | undefined;
                        } | undefined;
                        billingPeriod?: import('../../../../prisma/zod-utils').BillingPeriod | undefined;
                    };
                }, "metadata"> & {
                    requestedSlug: string | null;
                    metadata: {
                        requestedSlug: string | null;
                        defaultConferencingApp?: {
                            appSlug?: string | undefined;
                            appLink?: string | undefined;
                        } | undefined;
                        paymentId?: string | undefined;
                        subscriptionId?: string | null | undefined;
                        subscriptionItemId?: string | null | undefined;
                        orgSeats?: number | null | undefined;
                        orgPricePerSeat?: number | null | undefined;
                        migratedToOrgFrom?: {
                            teamSlug?: string | null | undefined;
                            lastMigrationTime?: string | undefined;
                            reverted?: boolean | undefined;
                            lastRevertTime?: string | undefined;
                        } | undefined;
                        billingPeriod?: import('../../../../prisma/zod-utils').BillingPeriod | undefined;
                    };
                };
                id: number;
                username: string;
                uid: string;
                organizationId: number;
                userId: number;
                createdAt: Date & string;
                updatedAt: Date & string;
                upId: string;
            };
            name: string | null;
            id: number;
            username: string | null;
            email: string;
            teams: {
                id: number;
                role: import('../../../../kysely/types.ts').MembershipRole;
                userId: number;
                createdAt: Date | null;
                updatedAt: Date | null;
                teamId: number;
                disableImpersonation: boolean;
                accepted: boolean;
                customRoleId: string | null;
            }[];
            bio: string | null;
            theme: string | null;
            verified: boolean | null;
            locked: boolean;
            locale: string | null;
            timeZone: string;
            requiresBookerEmailVerification: boolean | null;
            emailVerified: Date | null;
            avatarUrl: string | null;
            weekStart: string;
            startTime: number;
            endTime: number;
            bufferTime: number;
            hideBranding: boolean;
            createdDate: Date;
            trialEndsAt: Date | null;
            lastActiveAt: Date | null;
            completedOnboarding: boolean;
            timeFormat: number | null;
            twoFactorSecret: string | null;
            twoFactorEnabled: boolean;
            backupCodes: string | null;
            identityProvider: import('../../../../kysely/types.ts').IdentityProvider;
            identityProviderId: string | null;
            invitedTo: number | null;
            brandColor: string | null;
            darkBrandColor: string | null;
            allowDynamicBooking: boolean | null;
            allowSEOIndexing: boolean | null;
            receiveMonthlyDigestEmail: boolean | null;
            disableImpersonation: boolean;
            movedToProfileId: number | null;
            isPlatformManaged: boolean;
        })[];
        users: ({
            metadata: undefined;
            bookerUrl: string;
            profile: import("@calcom/types/UserProfile").UserAsPersonalProfile;
            name: string | null;
            id: number;
            username: string | null;
            email: string;
            teams: {
                id: number;
                role: import('../../../../kysely/types.ts').MembershipRole;
                userId: number;
                createdAt: Date | null;
                updatedAt: Date | null;
                teamId: number;
                disableImpersonation: boolean;
                accepted: boolean;
                customRoleId: string | null;
            }[];
            bio: string | null;
            theme: string | null;
            verified: boolean | null;
            locked: boolean;
            locale: string | null;
            timeZone: string;
            requiresBookerEmailVerification: boolean | null;
            emailVerified: Date | null;
            avatarUrl: string | null;
            weekStart: string;
            startTime: number;
            endTime: number;
            bufferTime: number;
            hideBranding: boolean;
            createdDate: Date;
            trialEndsAt: Date | null;
            lastActiveAt: Date | null;
            completedOnboarding: boolean;
            timeFormat: number | null;
            twoFactorSecret: string | null;
            twoFactorEnabled: boolean;
            backupCodes: string | null;
            identityProvider: import('../../../../kysely/types.ts').IdentityProvider;
            identityProviderId: string | null;
            invitedTo: number | null;
            brandColor: string | null;
            darkBrandColor: string | null;
            allowDynamicBooking: boolean | null;
            allowSEOIndexing: boolean | null;
            receiveMonthlyDigestEmail: boolean | null;
            disableImpersonation: boolean;
            movedToProfileId: number | null;
            isPlatformManaged: boolean;
        } | {
            metadata: undefined;
            bookerUrl: string;
            profile: {
                organization: Omit<{
                    name: string;
                    id: number;
                    metadata: import("@prisma/client/runtime/client").JsonValue;
                    theme: string | null;
                    slug: string | null;
                    hideBranding: boolean;
                    brandColor: string | null;
                    darkBrandColor: string | null;
                    logoUrl: string | null;
                    bannerUrl: string | null;
                    isPlatform: boolean;
                    organizationSettings: {
                        allowSEOIndexing: boolean;
                        orgProfileRedirectsToVerifiedDomain: boolean;
                        disableAutofillOnBookingPage: boolean;
                    } | null;
                } & Omit<Pick<{
                    name: string;
                    id: number;
                    metadata: import("@prisma/client/runtime/client").JsonValue | null;
                    bio: string | null;
                    theme: string | null;
                    slug: string | null;
                    createdAt: Date;
                    parentId: number | null;
                    timeZone: string;
                    bookingLimits: import("@prisma/client/runtime/client").JsonValue | null;
                    weekStart: string;
                    hideBranding: boolean;
                    timeFormat: number | null;
                    brandColor: string | null;
                    darkBrandColor: string | null;
                    smsLockState: import('../../../../kysely/types.ts').SMSLockState;
                    smsLockReviewedByAdmin: boolean;
                    logoUrl: string | null;
                    calVideoLogo: string | null;
                    appLogo: string | null;
                    appIconLogo: string | null;
                    hideTeamProfileLink: boolean;
                    isPrivate: boolean;
                    hideBookATeamMember: boolean;
                    rrResetInterval: import('../../../../kysely/types.ts').RRResetInterval | null;
                    rrTimestampBasis: import('../../../../kysely/types.ts').RRTimestampBasis;
                    bannerUrl: string | null;
                    isOrganization: boolean;
                    pendingPayment: boolean;
                    isPlatform: boolean;
                    createdByOAuthClientId: string | null;
                    includeManagedEventsInLimits: boolean;
                }, "name" | "id" | "metadata" | "theme" | "slug" | "hideBranding" | "brandColor" | "darkBrandColor" | "logoUrl" | "bannerUrl" | "isPlatform">, "metadata"> & {
                    requestedSlug: string | null;
                    metadata: {
                        requestedSlug: string | null;
                        defaultConferencingApp?: {
                            appSlug?: string | undefined;
                            appLink?: string | undefined;
                        } | undefined;
                        paymentId?: string | undefined;
                        subscriptionId?: string | null | undefined;
                        subscriptionItemId?: string | null | undefined;
                        orgSeats?: number | null | undefined;
                        orgPricePerSeat?: number | null | undefined;
                        migratedToOrgFrom?: {
                            teamSlug?: string | null | undefined;
                            lastMigrationTime?: string | undefined;
                            reverted?: boolean | undefined;
                            lastRevertTime?: string | undefined;
                        } | undefined;
                        billingPeriod?: import('../../../../prisma/zod-utils').BillingPeriod | undefined;
                    };
                }, "metadata"> & {
                    requestedSlug: string | null;
                    metadata: {
                        requestedSlug: string | null;
                        defaultConferencingApp?: {
                            appSlug?: string | undefined;
                            appLink?: string | undefined;
                        } | undefined;
                        paymentId?: string | undefined;
                        subscriptionId?: string | null | undefined;
                        subscriptionItemId?: string | null | undefined;
                        orgSeats?: number | null | undefined;
                        orgPricePerSeat?: number | null | undefined;
                        migratedToOrgFrom?: {
                            teamSlug?: string | null | undefined;
                            lastMigrationTime?: string | undefined;
                            reverted?: boolean | undefined;
                            lastRevertTime?: string | undefined;
                        } | undefined;
                        billingPeriod?: import('../../../../prisma/zod-utils').BillingPeriod | undefined;
                    };
                };
                id: number;
                username: string;
                uid: string;
                organizationId: number;
                userId: number;
                createdAt: Date & string;
                updatedAt: Date & string;
                upId: string;
            };
            name: string | null;
            id: number;
            username: string | null;
            email: string;
            teams: {
                id: number;
                role: import('../../../../kysely/types.ts').MembershipRole;
                userId: number;
                createdAt: Date | null;
                updatedAt: Date | null;
                teamId: number;
                disableImpersonation: boolean;
                accepted: boolean;
                customRoleId: string | null;
            }[];
            bio: string | null;
            theme: string | null;
            verified: boolean | null;
            locked: boolean;
            locale: string | null;
            timeZone: string;
            requiresBookerEmailVerification: boolean | null;
            emailVerified: Date | null;
            avatarUrl: string | null;
            weekStart: string;
            startTime: number;
            endTime: number;
            bufferTime: number;
            hideBranding: boolean;
            createdDate: Date;
            trialEndsAt: Date | null;
            lastActiveAt: Date | null;
            completedOnboarding: boolean;
            timeFormat: number | null;
            twoFactorSecret: string | null;
            twoFactorEnabled: boolean;
            backupCodes: string | null;
            identityProvider: import('../../../../kysely/types.ts').IdentityProvider;
            identityProviderId: string | null;
            invitedTo: number | null;
            brandColor: string | null;
            darkBrandColor: string | null;
            allowDynamicBooking: boolean | null;
            allowSEOIndexing: boolean | null;
            receiveMonthlyDigestEmail: boolean | null;
            disableImpersonation: boolean;
            movedToProfileId: number | null;
            isPlatformManaged: boolean;
        })[] | undefined;
        locations: (Pick<Partial<import('../../../../app-store/locations').LocationObject>, "link" | "address" | "customLabel"> & Omit<import('../../../../app-store/locations').LocationObject, "link" | "address" | "customLabel">)[];
        profile: {
            image?: string | undefined;
            name?: string | undefined;
            username?: string | null | undefined;
            weekStart: string;
            brandColor: string | null;
            darkBrandColor: string | null;
            theme: null;
            bookerLayouts: {
                enabledLayouts: import('../../../../prisma/zod-utils').BookerLayouts[];
                defaultLayout: import('../../../../prisma/zod-utils').BookerLayouts;
            } | null;
        };
        entity: {
            considerUnpublished: boolean;
            fromRedirectOfNonOrgLink: boolean;
            orgSlug: string | null;
            name: string | null;
            teamSlug: null;
            logoUrl: null;
            hideProfileLink: boolean;
        };
        isInstantEvent: boolean;
        instantMeetingParameters: never[];
        showInstantEventConnectNowModal: boolean;
        autoTranslateDescriptionEnabled: boolean;
        fieldTranslations: never[];
        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?: {
                alby?: {
                    price: number;
                    currency: string;
                    appCategories?: string[] | undefined;
                    paymentOption?: string | undefined;
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                } | undefined;
                basecamp3?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                btcpayserver?: {
                    price: number;
                    currency: string;
                    appCategories?: string[] | undefined;
                    paymentOption?: string | undefined;
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                } | undefined;
                closecom?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                dailyvideo?: {} | undefined;
                databuddy?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                    DATABUDDY_SCRIPT_URL?: string | undefined;
                    DATABUDDY_API_URL?: string | undefined;
                    CLIENT_ID?: string | undefined;
                } | undefined;
                dub?: {} | undefined;
                fathom?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                    trackingId?: string | undefined;
                } | undefined;
                feishucalendar?: {} | undefined;
                ga4?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                    trackingId?: string | undefined;
                } | undefined;
                giphy?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                    thankYouPage?: string | undefined;
                } | undefined;
                googlecalendar?: {} | undefined;
                googlevideo?: {} | undefined;
                gtm?: {
                    trackingId: string;
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                hitpay?: {
                    price: number;
                    currency: string;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                    paymentOption?: string | undefined;
                    enabled?: boolean | undefined;
                } | undefined;
                hubspot?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                    ignoreGuests?: boolean | undefined;
                    skipContactCreation?: boolean | undefined;
                } | undefined;
                insihts?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                    SITE_ID?: string | undefined;
                    SCRIPT_URL?: string | undefined;
                } | undefined;
                intercom?: {} | undefined;
                jelly?: {} | undefined;
                jitsivideo?: {} | undefined;
                larkcalendar?: {} | undefined;
                make?: {} | undefined;
                matomo?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                    MATOMO_URL?: string | undefined;
                    SITE_ID?: string | undefined;
                } | undefined;
                metapixel?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                    trackingId?: string | undefined;
                } | undefined;
                "mock-payment-app"?: {
                    price: number;
                    currency: string;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                    paymentOption?: string | undefined;
                    enabled?: boolean | undefined;
                } | undefined;
                nextcloudtalk?: {} | undefined;
                office365calendar?: {
                    client_id: string;
                    client_secret: string;
                } | undefined;
                office365video?: {
                    client_id: string;
                    client_secret: string;
                } | undefined;
                paypal?: {
                    price: number;
                    currency: string;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                    paymentOption?: string | undefined;
                    enabled?: boolean | undefined;
                } | undefined;
                "pipedrive-crm"?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                plausible?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                    PLAUSIBLE_URL?: string | undefined;
                    trackingId?: string | undefined;
                } | undefined;
                posthog?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                    TRACKING_ID?: string | undefined;
                    API_HOST?: string | undefined;
                } | undefined;
                qr_code?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                "routing-forms"?: any;
                salesforce?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                    roundRobinLeadSkip?: boolean | undefined;
                    roundRobinSkipCheckRecordOn?: import('../../../../app-store/salesforce/lib/enums').SalesforceRecordEnum | undefined;
                    ifFreeEmailDomainSkipOwnerCheck?: boolean | undefined;
                    roundRobinSkipFallbackToLeadOwner?: boolean | undefined;
                    skipContactCreation?: boolean | undefined;
                    createEventOn?: import('../../../../app-store/salesforce/lib/enums').SalesforceRecordEnum | undefined;
                    createNewContactUnderAccount?: boolean | undefined;
                    createLeadIfAccountNull?: boolean | undefined;
                    onBookingWriteToEventObject?: boolean | undefined;
                    onBookingWriteToEventObjectMap?: Record<string, any> | undefined;
                    createEventOnLeadCheckForContact?: boolean | undefined;
                    onBookingChangeRecordOwner?: boolean | undefined;
                    onBookingChangeRecordOwnerName?: string | undefined;
                    sendNoShowAttendeeData?: boolean | undefined;
                    sendNoShowAttendeeDataField?: string | undefined;
                    onBookingWriteToRecord?: boolean | undefined;
                    onBookingWriteToRecordFields?: Record<string, {
                        value: string | boolean;
                        fieldType: import('../../../../app-store/salesforce/lib/enums').SalesforceFieldType;
                        whenToWrite: import('../../../../app-store/salesforce/lib/enums').WhenToWriteToRecord;
                    }> | undefined;
                    ignoreGuests?: boolean | undefined;
                    onCancelWriteToEventRecord?: boolean | undefined;
                    onCancelWriteToEventRecordFields?: Record<string, {
                        value: string | boolean;
                        fieldType: import('../../../../app-store/salesforce/lib/enums').SalesforceFieldType;
                        whenToWrite: import('../../../../app-store/salesforce/lib/enums').WhenToWriteToRecord;
                    }> | undefined;
                } | undefined;
                shimmervideo?: {} | undefined;
                stripe?: {
                    price: number;
                    currency: string;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                    paymentOption?: string | undefined;
                    enabled?: boolean | undefined;
                    refundPolicy?: import('../../../../lib/payment/types').RefundPolicy | undefined;
                    refundDaysCount?: number | undefined;
                    refundCountCalendarDays?: boolean | undefined;
                    autoChargeNoShowFeeIfCancelled?: boolean | undefined;
                    autoChargeNoShowFeeTimeValue?: number | undefined;
                    autoChargeNoShowFeeTimeUnit?: "days" | "hours" | "minutes" | undefined;
                } | undefined;
                tandemvideo?: {} | undefined;
                "booking-pages-tag"?: {
                    trackingId: string;
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                "event-type-app-card"?: {
                    isSunrise: boolean;
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                twipla?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                    SITE_ID?: string | undefined;
                } | undefined;
                umami?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                    SITE_ID?: string | undefined;
                    SCRIPT_URL?: string | undefined;
                } | undefined;
                vital?: {} | undefined;
                webex?: {} | undefined;
                wordpress?: {
                    isSunrise: boolean;
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                zapier?: {} | undefined;
                "zoho-bigin"?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                zohocalendar?: {} | undefined;
                zohocrm?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                zoomvideo?: {} | undefined;
            } | undefined;
        } | null;
        isDynamic: boolean;
        periodCountCalendarDays: boolean;
        periodStartDate: null;
        periodEndDate: null;
        beforeEventBuffer: number;
        afterEventBuffer: number;
        periodType: "UNLIMITED";
        periodDays: null;
        slotInterval: null;
        offsetStart: number;
        customInputs: {
            id: number;
            type: "TEXT" | "TEXTLONG" | "NUMBER" | "BOOL" | "RADIO" | "PHONE";
            label: string;
            required: boolean;
            placeholder: string;
            eventTypeId: number;
            options?: {
                type: string;
                label: string;
            }[] | null | undefined;
            hasToBeCreated?: boolean | undefined;
        }[];
        disableGuests: boolean;
        minimumBookingNotice: number;
        schedule: null;
        timeZone: null;
        successRedirectUrl: string;
        forwardParamsSuccessRedirect: boolean;
        teamId: null;
        scheduleId: null;
        availability: never[];
        price: number;
        currency: string;
        schedulingType: "COLLECTIVE";
        seatsPerTimeSlot: null;
        seatsShowAttendees: null;
        seatsShowAvailabilityCount: null;
        disableCancelling: boolean;
        disableRescheduling: boolean;
        minimumRescheduleNotice: null;
        onlyShowFirstAvailableSlot: boolean;
        allowReschedulingPastBookings: boolean;
        allowReschedulingCancelledBookings: boolean;
        hideOrganizerEmail: boolean;
        showOptimizedSlots: boolean;
        id: number;
        hideCalendarNotes: boolean;
        hideCalendarEventDetails: boolean;
        recurringEvent: null;
        destinationCalendar: null;
        team: null;
        lockTimeZoneToggleOnBookingPage: boolean;
        lockedTimeZone: null;
        requiresConfirmation: boolean;
        requiresConfirmationForFreeEmail: boolean;
        requiresBookerEmailVerification: boolean;
        bookingLimits: null;
        maxActiveBookingsPerBooker: null;
        maxActiveBookingPerBookerOfferReschedule: boolean;
        durationLimits: null;
        hidden: boolean;
        userId: number;
        parentId: null;
        parent: null;
        owner: null;
        workflows: never[];
        hosts: never[];
        subsetOfHosts: never[];
        assignAllTeamMembers: boolean;
        assignRRMembersUsingSegment: boolean;
        rrSegmentQueryValue: null;
        isRRWeightsEnabled: boolean;
        rescheduleWithSameRoundRobinHost: boolean;
        useEventTypeDestinationCalendarEmail: boolean;
        secondaryEmailId: null;
        secondaryEmail: null;
        maxLeadThreshold: null;
        includeNoShowInRRCalculation: boolean;
        useEventLevelSelectedCalendars: boolean;
        rrResetInterval: null;
        rrTimestampBasis: null;
        interfaceLanguage: null;
        customReplyToEmail: null;
        restrictionScheduleId: null;
        useBookerTimezone: boolean;
        profileId: null;
        requiresConfirmationWillBlockSlot: boolean;
        canSendCalVideoTranscriptionEmails: boolean;
        instantMeetingExpiryTimeOffsetInSeconds: number;
        autoTranslateInstantMeetingTitleEnabled: boolean;
        instantMeetingScheduleId: null;
        eventTypeColor: null;
        hostGroups: never[];
        bookingRequiresAuthentication: boolean;
        createdAt: null;
        updatedAt: null;
        rrHostSubsetEnabled: boolean;
        length: number;
        slug: string;
        title: string;
        eventName: string;
        description: string;
        descriptionAsSafeHTML: string;
        position: number;
    } | {
        bookerLayouts: {
            enabledLayouts: import('../../../../prisma/zod-utils').BookerLayouts[];
            defaultLayout: import('../../../../prisma/zod-utils').BookerLayouts;
        } | null;
        description: string;
        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?: {
                alby?: {
                    price: number;
                    currency: string;
                    appCategories?: string[] | undefined;
                    paymentOption?: string | undefined;
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                } | undefined;
                basecamp3?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                btcpayserver?: {
                    price: number;
                    currency: string;
                    appCategories?: string[] | undefined;
                    paymentOption?: string | undefined;
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                } | undefined;
                closecom?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                dailyvideo?: {} | undefined;
                databuddy?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                    DATABUDDY_SCRIPT_URL?: string | undefined;
                    DATABUDDY_API_URL?: string | undefined;
                    CLIENT_ID?: string | undefined;
                } | undefined;
                dub?: {} | undefined;
                fathom?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                    trackingId?: string | undefined;
                } | undefined;
                feishucalendar?: {} | undefined;
                ga4?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                    trackingId?: string | undefined;
                } | undefined;
                giphy?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                    thankYouPage?: string | undefined;
                } | undefined;
                googlecalendar?: {} | undefined;
                googlevideo?: {} | undefined;
                gtm?: {
                    trackingId: string;
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                hitpay?: {
                    price: number;
                    currency: string;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                    paymentOption?: string | undefined;
                    enabled?: boolean | undefined;
                } | undefined;
                hubspot?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                    ignoreGuests?: boolean | undefined;
                    skipContactCreation?: boolean | undefined;
                } | undefined;
                insihts?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                    SITE_ID?: string | undefined;
                    SCRIPT_URL?: string | undefined;
                } | undefined;
                intercom?: {} | undefined;
                jelly?: {} | undefined;
                jitsivideo?: {} | undefined;
                larkcalendar?: {} | undefined;
                make?: {} | undefined;
                matomo?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                    MATOMO_URL?: string | undefined;
                    SITE_ID?: string | undefined;
                } | undefined;
                metapixel?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                    trackingId?: string | undefined;
                } | undefined;
                "mock-payment-app"?: {
                    price: number;
                    currency: string;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                    paymentOption?: string | undefined;
                    enabled?: boolean | undefined;
                } | undefined;
                nextcloudtalk?: {} | undefined;
                office365calendar?: {
                    client_id: string;
                    client_secret: string;
                } | undefined;
                office365video?: {
                    client_id: string;
                    client_secret: string;
                } | undefined;
                paypal?: {
                    price: number;
                    currency: string;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                    paymentOption?: string | undefined;
                    enabled?: boolean | undefined;
                } | undefined;
                "pipedrive-crm"?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                plausible?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                    PLAUSIBLE_URL?: string | undefined;
                    trackingId?: string | undefined;
                } | undefined;
                posthog?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                    TRACKING_ID?: string | undefined;
                    API_HOST?: string | undefined;
                } | undefined;
                qr_code?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                "routing-forms"?: any;
                salesforce?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                    roundRobinLeadSkip?: boolean | undefined;
                    roundRobinSkipCheckRecordOn?: import('../../../../app-store/salesforce/lib/enums').SalesforceRecordEnum | undefined;
                    ifFreeEmailDomainSkipOwnerCheck?: boolean | undefined;
                    roundRobinSkipFallbackToLeadOwner?: boolean | undefined;
                    skipContactCreation?: boolean | undefined;
                    createEventOn?: import('../../../../app-store/salesforce/lib/enums').SalesforceRecordEnum | undefined;
                    createNewContactUnderAccount?: boolean | undefined;
                    createLeadIfAccountNull?: boolean | undefined;
                    onBookingWriteToEventObject?: boolean | undefined;
                    onBookingWriteToEventObjectMap?: Record<string, any> | undefined;
                    createEventOnLeadCheckForContact?: boolean | undefined;
                    onBookingChangeRecordOwner?: boolean | undefined;
                    onBookingChangeRecordOwnerName?: string | undefined;
                    sendNoShowAttendeeData?: boolean | undefined;
                    sendNoShowAttendeeDataField?: string | undefined;
                    onBookingWriteToRecord?: boolean | undefined;
                    onBookingWriteToRecordFields?: Record<string, {
                        value: string | boolean;
                        fieldType: import('../../../../app-store/salesforce/lib/enums').SalesforceFieldType;
                        whenToWrite: import('../../../../app-store/salesforce/lib/enums').WhenToWriteToRecord;
                    }> | undefined;
                    ignoreGuests?: boolean | undefined;
                    onCancelWriteToEventRecord?: boolean | undefined;
                    onCancelWriteToEventRecordFields?: Record<string, {
                        value: string | boolean;
                        fieldType: import('../../../../app-store/salesforce/lib/enums').SalesforceFieldType;
                        whenToWrite: import('../../../../app-store/salesforce/lib/enums').WhenToWriteToRecord;
                    }> | undefined;
                } | undefined;
                shimmervideo?: {} | undefined;
                stripe?: {
                    price: number;
                    currency: string;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                    paymentOption?: string | undefined;
                    enabled?: boolean | undefined;
                    refundPolicy?: import('../../../../lib/payment/types').RefundPolicy | undefined;
                    refundDaysCount?: number | undefined;
                    refundCountCalendarDays?: boolean | undefined;
                    autoChargeNoShowFeeIfCancelled?: boolean | undefined;
                    autoChargeNoShowFeeTimeValue?: number | undefined;
                    autoChargeNoShowFeeTimeUnit?: "days" | "hours" | "minutes" | undefined;
                } | undefined;
                tandemvideo?: {} | undefined;
                "booking-pages-tag"?: {
                    trackingId: string;
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                "event-type-app-card"?: {
                    isSunrise: boolean;
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                twipla?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                    SITE_ID?: string | undefined;
                } | undefined;
                umami?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                    SITE_ID?: string | undefined;
                    SCRIPT_URL?: string | undefined;
                } | undefined;
                vital?: {} | undefined;
                webex?: {} | undefined;
                wordpress?: {
                    isSunrise: boolean;
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                zapier?: {} | undefined;
                "zoho-bigin"?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                zohocalendar?: {} | undefined;
                zohocrm?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                zoomvideo?: {} | undefined;
            } | undefined;
        } | null;
        customInputs: {
            id: number;
            type: "TEXT" | "TEXTLONG" | "NUMBER" | "BOOL" | "RADIO" | "PHONE";
            label: string;
            required: boolean;
            placeholder: string;
            eventTypeId: number;
            options?: {
                type: string;
                label: string;
            }[] | null | undefined;
            hasToBeCreated?: boolean | undefined;
        }[];
        locations: (Pick<Partial<import('../../../../app-store/locations').LocationObject>, "link" | "address" | "customLabel"> & Omit<import('../../../../app-store/locations').LocationObject, "link" | "address" | "customLabel">)[];
        bookingFields: {
            name: string;
            type: "number" | "boolean" | "url" | "phone" | "name" | "address" | "select" | "textarea" | "text" | "checkbox" | "radio" | "email" | "multiemail" | "multiselect" | "radioInput";
            label?: string | undefined;
            price?: number | undefined;
            required?: boolean | undefined;
            placeholder?: string | undefined;
            options?: {
                label: string;
                value: string;
                price?: number | undefined;
            }[] | undefined;
            labelAsSafeHtml?: string | undefined;
            defaultLabel?: string | undefined;
            defaultPlaceholder?: string | undefined;
            getOptionsAt?: string | undefined;
            optionsInputs?: Record<string, {
                type: "phone" | "address" | "text";
                required?: boolean | undefined;
                placeholder?: string | undefined;
            }> | undefined;
            minLength?: number | undefined;
            maxLength?: number | undefined;
            excludeEmails?: string | undefined;
            requireEmails?: string | undefined;
            variant?: string | undefined;
            variantsConfig?: {
                variants: Record<string, {
                    fields: {
                        name: string;
                        type: "number" | "boolean" | "url" | "phone" | "name" | "address" | "select" | "textarea" | "text" | "checkbox" | "radio" | "email" | "multiemail" | "multiselect" | "radioInput";
                        label?: string | undefined;
                        price?: number | undefined;
                        required?: boolean | undefined;
                        placeholder?: string | undefined;
                        labelAsSafeHtml?: string | undefined;
                        minLength?: number | undefined;
                        maxLength?: number | undefined;
                        excludeEmails?: string | undefined;
                        requireEmails?: string | undefined;
                    }[];
                }>;
            } | undefined;
            views?: {
                id: string;
                label: string;
                description?: string | undefined;
            }[] | undefined;
            hideWhenJustOneOption?: boolean | undefined;
            hidden?: boolean | undefined;
            editable?: "user" | "system" | "system-but-optional" | "system-but-hidden" | "user-readonly" | undefined;
            sources?: {
                id: string;
                type: string;
                label: string;
                editUrl?: string | undefined;
                fieldRequired?: boolean | undefined;
            }[] | undefined;
            disableOnPrefill?: boolean | undefined;
        }[] & import("zod").BRAND<"HAS_SYSTEM_FIELDS">;
        recurringEvent: import("@calcom/types/Calendar").RecurringEvent | null;
        profile: {
            username: string | null | undefined;
            name: string | null;
            weekStart: string;
            image: string;
            brandColor: string | null;
            darkBrandColor: string | null;
            theme: string | null;
            bookerLayouts: {
                enabledLayouts: import('../../../../prisma/zod-utils').BookerLayouts[];
                defaultLayout: import('../../../../prisma/zod-utils').BookerLayouts;
            } | null;
        };
        subsetOfUsers: {
            username: string | null;
            name: string | null;
            weekStart: string;
            organizationId: any;
            avatarUrl: string | null;
            profile: import("@calcom/types/UserProfile").UserProfile;
            bookerUrl: string;
        }[];
        users: {
            username: string | null;
            name: string | null;
            weekStart: string;
            organizationId: any;
            avatarUrl: string | null;
            profile: import("@calcom/types/UserProfile").UserProfile;
            bookerUrl: string;
        }[] | undefined;
        entity: {
            logoUrl?: string | undefined;
            name: any;
            fromRedirectOfNonOrgLink: boolean;
            considerUnpublished: boolean;
            orgSlug: string | null;
            teamSlug: string | null;
            hideProfileLink: boolean;
        };
        isDynamic: boolean;
        isInstantEvent: boolean;
        showInstantEventConnectNowModal: boolean;
        instantMeetingParameters: string[];
        aiPhoneCallConfig: {
            id: number;
            enabled: boolean;
            eventTypeId: number;
            templateType: string;
            schedulerName: string | null;
            generalPrompt: string | null;
            yourPhoneNumber: string;
            numberToCall: string;
            guestName: string | null;
            guestEmail: string | null;
            guestCompany: string | null;
            beginMessage: string | null;
            llmId: string | null;
        } | null;
        assignAllTeamMembers: boolean;
        disableCancelling: boolean | null;
        disableRescheduling: boolean | null;
        allowReschedulingCancelledBookings: boolean | null;
        interfaceLanguage: string | null;
        owner: ({
            name: string | null;
            id: number;
            metadata: import("@prisma/client/runtime/client").JsonValue;
            username: string | null;
            organization: {
                name: string;
                id: number;
                slug: string | null;
                bannerUrl: string | null;
                organizationSettings: {
                    disableAutofillOnBookingPage: boolean;
                } | null;
            } | null;
            theme: string | null;
            avatarUrl: string | null;
            weekStart: string;
            defaultScheduleId: number | null;
            brandColor: string | null;
            darkBrandColor: string | null;
        } & {
            nonProfileUsername: string | null;
            profile: import("@calcom/types/UserProfile").UserProfile;
        }) | null;
        subsetOfHosts: {
            user: {
                name: string | null;
                id: number;
                metadata: import("@prisma/client/runtime/client").JsonValue;
                username: string | null;
                organization: {
                    name: string;
                    id: number;
                    slug: string | null;
                    bannerUrl: string | null;
                    organizationSettings: {
                        disableAutofillOnBookingPage: boolean;
                    } | null;
                } | null;
                theme: string | null;
                avatarUrl: string | null;
                weekStart: string;
                defaultScheduleId: number | null;
                brandColor: string | null;
                darkBrandColor: string | null;
            } & {
                nonProfileUsername: string | null;
                profile: import("@calcom/types/UserProfile").UserProfile;
            };
        }[];
        hosts: {
            user: {
                name: string | null;
                id: number;
                metadata: import("@prisma/client/runtime/client").JsonValue;
                username: string | null;
                organization: {
                    name: string;
                    id: number;
                    slug: string | null;
                    bannerUrl: string | null;
                    organizationSettings: {
                        disableAutofillOnBookingPage: boolean;
                    } | null;
                } | null;
                theme: string | null;
                avatarUrl: string | null;
                weekStart: string;
                defaultScheduleId: number | null;
                brandColor: string | null;
                darkBrandColor: string | null;
            } & {
                nonProfileUsername: string | null;
                profile: import("@calcom/types/UserProfile").UserProfile;
            };
        }[] | undefined;
        schedule: {
            id: number;
            timeZone: string | null;
        } | null;
        id: number;
        length: number;
        title: string;
        price: number;
        hidden: boolean;
        team: {
            name: string;
            metadata: import("@prisma/client/runtime/client").JsonValue;
            theme: string | null;
            slug: string | null;
            parentId: number | null;
            brandColor: string | null;
            darkBrandColor: string | null;
            logoUrl: string | null;
            hideTeamProfileLink: boolean;
            isPrivate: boolean;
            parent: {
                name: string;
                slug: string | null;
                logoUrl: string | null;
                bannerUrl: string | null;
                organizationSettings: {
                    disableAutofillOnBookingPage: boolean;
                } | null;
            } | null;
            organizationSettings: {
                disableAutofillOnBookingPage: boolean;
            } | null;
        } | null;
        workflows: ({
            workflow: {
                steps: {
                    id: number;
                    template: import('../../../../kysely/types.ts').WorkflowTemplates;
                    action: import('../../../../kysely/types.ts').WorkflowActions;
                    stepNumber: number;
                    workflowId: number;
                    sendTo: string | null;
                    reminderBody: string | null;
                    emailSubject: string | null;
                    numberRequired: boolean | null;
                    sender: string | null;
                    numberVerificationPending: boolean;
                    includeCalendarEvent: boolean;
                    verifiedAt: Date | null;
                    agentId: string | null;
                    inboundAgentId: string | null;
                }[];
            } & {
                name: string;
                id: number;
                type: import('../../../../kysely/types.ts').WorkflowType;
                time: number | null;
                trigger: import('../../../../kysely/types.ts').WorkflowTriggerEvents;
                userId: number | null;
                position: number;
                teamId: number | null;
                timeUnit: import('../../../../kysely/types.ts').TimeUnit | null;
                isActiveOnAll: boolean;
            };
        } & {
            id: number;
            eventTypeId: number;
            workflowId: number;
        })[];
        currency: string;
        slug: string;
        teamId: number | null;
        eventName: string | null;
        periodType: import('../../../../kysely/types.ts').PeriodType;
        periodStartDate: Date | null;
        periodEndDate: Date | null;
        periodDays: number | null;
        periodCountCalendarDays: boolean | null;
        lockTimeZoneToggleOnBookingPage: boolean;
        lockedTimeZone: string | null;
        requiresConfirmation: boolean;
        requiresBookerEmailVerification: boolean;
        autoTranslateDescriptionEnabled: boolean;
        disableGuests: boolean;
        seatsPerTimeSlot: number | null;
        minimumRescheduleNotice: number | null;
        seatsShowAvailabilityCount: boolean | null;
        schedulingType: import('../../../../kysely/types.ts').SchedulingType | null;
        successRedirectUrl: string | null;
        forwardParamsSuccessRedirect: boolean | null;
        rescheduleWithSameRoundRobinHost: boolean;
        parent: {
            team: {
                theme: string | null;
                brandColor: string | null;
                darkBrandColor: string | null;
            } | null;
        } | null;
        instantMeetingSchedule: {
            id: number;
            timeZone: string | null;
        } | null;
        fieldTranslations: {
            field: import('../../../../kysely/types.ts').EventTypeAutoTranslatedField;
            targetLocale: string;
            translatedText: string;
        }[];
    } | null | undefined;
    isSuccess: boolean;
    isError: boolean;
    isPending: boolean;
};
/**
 * Gets schedule for the current event and current month.
 * Gets all values right away and not the store because it increases network timing, only for the first render.
 * We can read from the store if we want to get the latest values.
 *
 * Using this hook means you only need to use one hook, instead
 * of combining multiple conditional hooks.
 *
 * The prefetchNextMonth argument can be used to prefetch two months at once,
 * useful when the user is viewing dates near the end of the month,
 * this way the multi day view will show data of both months.
 */
export declare const useScheduleForEvent: ({ username, eventSlug, eventId, month, duration, dayCount, selectedDate, orgSlug, teamMemberEmail, isTeamEvent, useApiV2, bookerLayout, }: {
    username?: string | null;
    eventSlug?: string | null;
    eventId?: number | null;
    month?: string | null;
    duration?: number | null;
    dayCount?: number | null;
    selectedDate?: string | null;
    orgSlug?: string;
    teamMemberEmail?: string | null;
    fromRedirectOfNonOrgLink?: boolean;
    isTeamEvent?: boolean;
    useApiV2?: boolean;
    /**
     * Required when prefetching is needed
     */
    bookerLayout?: {
        layout: string;
        extraDays: number;
        columnViewExtraDays: {
            current: number;
        };
    };
}) => {
    data: import('../../../../trpc/server/routers/viewer/slots/util').IGetAvailableSlots | undefined;
    isPending: boolean;
    isError: boolean;
    isSuccess: boolean;
    isLoading: boolean;
    invalidate: (() => Promise<import("@tanstack/react-query").QueryObserverResult<import('../../../../trpc/server/routers/viewer/slots/util').IGetAvailableSlots, Error>>) | (() => Promise<void>);
    dataUpdatedAt: number;
};
//# sourceMappingURL=event.d.ts.map