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" | "phone" | "name" | "select" | "email" | "url" | "address" | "text" | "textarea" | "multiemail" | "multiselect" | "checkbox" | "radio" | "radioInput";
            hidden?: boolean | undefined;
            options?: {
                value: string;
                label: string;
                price?: number | undefined;
            }[] | undefined;
            price?: number | undefined;
            minLength?: number | undefined;
            maxLength?: number | undefined;
            label?: string | undefined;
            required?: boolean | undefined;
            placeholder?: string | 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;
            excludeEmails?: string | undefined;
            requireEmails?: string | undefined;
            variant?: string | undefined;
            variantsConfig?: {
                variants: Record<string, {
                    fields: {
                        name: string;
                        type: "number" | "boolean" | "phone" | "name" | "select" | "email" | "url" | "address" | "text" | "textarea" | "multiemail" | "multiselect" | "checkbox" | "radio" | "radioInput";
                        price?: number | undefined;
                        minLength?: number | undefined;
                        maxLength?: number | undefined;
                        label?: string | undefined;
                        required?: boolean | undefined;
                        placeholder?: string | undefined;
                        labelAsSafeHtml?: string | undefined;
                        excludeEmails?: string | undefined;
                        requireEmails?: string | undefined;
                    }[];
                }>;
            } | undefined;
            views?: {
                id: string;
                label: string;
                description?: string | undefined;
            }[] | undefined;
            hideWhenJustOneOption?: boolean | undefined;
            editable?: "user" | "system" | "system-but-optional" | "system-but-hidden" | "user-readonly" | undefined;
            sources?: {
                type: string;
                id: 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;
            locale: string | null;
            name: string | null;
            id: number;
            uuid: string;
            email: string;
            movedToProfileId: number | null;
            username: string | null;
            emailVerified: Date | null;
            bio: string | null;
            avatarUrl: string | null;
            timeZone: string;
            weekStart: string;
            bufferTime: number;
            hideBranding: boolean;
            theme: string | null;
            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;
            requiresBookerEmailVerification: boolean | null;
            verified: boolean | null;
            disableImpersonation: boolean;
            locked: boolean;
            isPlatformManaged: boolean;
            teams: {
                userId: number;
                role: import('../../../../kysely/types.ts').MembershipRole;
                id: number;
                createdAt: Date | null;
                updatedAt: Date | null;
                disableImpersonation: boolean;
                teamId: number;
                accepted: boolean;
                customRoleId: string | null;
            }[];
            profiles: {
                userId: number;
                id: number;
                uid: string;
                createdAt: Date;
                updatedAt: Date;
                username: string;
                organizationId: number;
            }[];
        } | {
            metadata: undefined;
            bookerUrl: string;
            profile: {
                organization: Omit<{
                    name: string;
                    organizationSettings: {
                        allowSEOIndexing: boolean;
                        orgProfileRedirectsToVerifiedDomain: boolean;
                        disableAutofillOnBookingPage: boolean;
                    } | null;
                    id: number;
                    metadata: import('@prisma/client/runtime/client').JsonValue;
                    hideBranding: boolean;
                    theme: string | null;
                    brandColor: string | null;
                    darkBrandColor: string | null;
                    slug: string | null;
                    logoUrl: string | null;
                    bannerUrl: string | null;
                    isPlatform: boolean;
                } & Omit<Pick<{
                    name: string;
                    id: number;
                    createdAt: Date;
                    metadata: import('@prisma/client/runtime/client').JsonValue | null;
                    bio: string | null;
                    timeZone: string;
                    weekStart: string;
                    hideBranding: boolean;
                    theme: string | null;
                    timeFormat: number | null;
                    brandColor: string | null;
                    darkBrandColor: string | null;
                    smsLockState: import('../../../../kysely/types.ts').SMSLockState;
                    smsLockReviewedByAdmin: boolean;
                    autoOptInFeatures: boolean;
                    slug: string | null;
                    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;
                    parentId: number | null;
                    isOrganization: boolean;
                    pendingPayment: boolean;
                    isPlatform: boolean;
                    createdByOAuthClientId: string | null;
                    bookingLimits: import('@prisma/client/runtime/client').JsonValue | null;
                    includeManagedEventsInLimits: boolean;
                }, "name" | "id" | "metadata" | "hideBranding" | "theme" | "brandColor" | "darkBrandColor" | "slug" | "logoUrl" | "bannerUrl" | "isPlatform">, "metadata"> & {
                    requestedSlug: string | null;
                    metadata: {
                        requestedSlug: string | null;
                        subscriptionId?: string | null | undefined;
                        billingPeriod?: import('../../../../prisma/zod-utils').BillingPeriod | undefined;
                        subscriptionItemId?: string | null | undefined;
                        defaultConferencingApp?: {
                            appSlug?: string | undefined;
                            appLink?: string | undefined;
                        } | undefined;
                        migratedToOrgFrom?: {
                            lastMigrationTime?: string | undefined;
                            reverted?: boolean | undefined;
                            teamSlug?: string | null | undefined;
                            lastRevertTime?: string | undefined;
                        } | undefined;
                        paymentId?: string | undefined;
                        orgSeats?: number | null | undefined;
                        orgPricePerSeat?: number | null | undefined;
                    };
                }, "metadata"> & {
                    requestedSlug: string | null;
                    metadata: {
                        requestedSlug: string | null;
                        subscriptionId?: string | null | undefined;
                        billingPeriod?: import('../../../../prisma/zod-utils').BillingPeriod | undefined;
                        subscriptionItemId?: string | null | undefined;
                        defaultConferencingApp?: {
                            appSlug?: string | undefined;
                            appLink?: string | undefined;
                        } | undefined;
                        migratedToOrgFrom?: {
                            lastMigrationTime?: string | undefined;
                            reverted?: boolean | undefined;
                            teamSlug?: string | null | undefined;
                            lastRevertTime?: string | undefined;
                        } | undefined;
                        paymentId?: string | undefined;
                        orgSeats?: number | null | undefined;
                        orgPricePerSeat?: number | null | undefined;
                    };
                };
                userId: number;
                id: number;
                uid: string;
                createdAt: Date & string;
                updatedAt: Date & string;
                username: string;
                organizationId: number;
                upId: string;
            };
            locale: string | null;
            name: string | null;
            id: number;
            uuid: string;
            email: string;
            movedToProfileId: number | null;
            username: string | null;
            emailVerified: Date | null;
            bio: string | null;
            avatarUrl: string | null;
            timeZone: string;
            weekStart: string;
            bufferTime: number;
            hideBranding: boolean;
            theme: string | null;
            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;
            requiresBookerEmailVerification: boolean | null;
            verified: boolean | null;
            disableImpersonation: boolean;
            locked: boolean;
            isPlatformManaged: boolean;
            teams: {
                userId: number;
                role: import('../../../../kysely/types.ts').MembershipRole;
                id: number;
                createdAt: Date | null;
                updatedAt: Date | null;
                disableImpersonation: boolean;
                teamId: number;
                accepted: boolean;
                customRoleId: string | null;
            }[];
            profiles: {
                userId: number;
                id: number;
                uid: string;
                createdAt: Date;
                updatedAt: Date;
                username: string;
                organizationId: number;
            }[];
        })[];
        users: ({
            metadata: undefined;
            bookerUrl: string;
            profile: import('@calcom/types/UserProfile').UserAsPersonalProfile;
            locale: string | null;
            name: string | null;
            id: number;
            uuid: string;
            email: string;
            movedToProfileId: number | null;
            username: string | null;
            emailVerified: Date | null;
            bio: string | null;
            avatarUrl: string | null;
            timeZone: string;
            weekStart: string;
            bufferTime: number;
            hideBranding: boolean;
            theme: string | null;
            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;
            requiresBookerEmailVerification: boolean | null;
            verified: boolean | null;
            disableImpersonation: boolean;
            locked: boolean;
            isPlatformManaged: boolean;
            teams: {
                userId: number;
                role: import('../../../../kysely/types.ts').MembershipRole;
                id: number;
                createdAt: Date | null;
                updatedAt: Date | null;
                disableImpersonation: boolean;
                teamId: number;
                accepted: boolean;
                customRoleId: string | null;
            }[];
            profiles: {
                userId: number;
                id: number;
                uid: string;
                createdAt: Date;
                updatedAt: Date;
                username: string;
                organizationId: number;
            }[];
        } | {
            metadata: undefined;
            bookerUrl: string;
            profile: {
                organization: Omit<{
                    name: string;
                    organizationSettings: {
                        allowSEOIndexing: boolean;
                        orgProfileRedirectsToVerifiedDomain: boolean;
                        disableAutofillOnBookingPage: boolean;
                    } | null;
                    id: number;
                    metadata: import('@prisma/client/runtime/client').JsonValue;
                    hideBranding: boolean;
                    theme: string | null;
                    brandColor: string | null;
                    darkBrandColor: string | null;
                    slug: string | null;
                    logoUrl: string | null;
                    bannerUrl: string | null;
                    isPlatform: boolean;
                } & Omit<Pick<{
                    name: string;
                    id: number;
                    createdAt: Date;
                    metadata: import('@prisma/client/runtime/client').JsonValue | null;
                    bio: string | null;
                    timeZone: string;
                    weekStart: string;
                    hideBranding: boolean;
                    theme: string | null;
                    timeFormat: number | null;
                    brandColor: string | null;
                    darkBrandColor: string | null;
                    smsLockState: import('../../../../kysely/types.ts').SMSLockState;
                    smsLockReviewedByAdmin: boolean;
                    autoOptInFeatures: boolean;
                    slug: string | null;
                    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;
                    parentId: number | null;
                    isOrganization: boolean;
                    pendingPayment: boolean;
                    isPlatform: boolean;
                    createdByOAuthClientId: string | null;
                    bookingLimits: import('@prisma/client/runtime/client').JsonValue | null;
                    includeManagedEventsInLimits: boolean;
                }, "name" | "id" | "metadata" | "hideBranding" | "theme" | "brandColor" | "darkBrandColor" | "slug" | "logoUrl" | "bannerUrl" | "isPlatform">, "metadata"> & {
                    requestedSlug: string | null;
                    metadata: {
                        requestedSlug: string | null;
                        subscriptionId?: string | null | undefined;
                        billingPeriod?: import('../../../../prisma/zod-utils').BillingPeriod | undefined;
                        subscriptionItemId?: string | null | undefined;
                        defaultConferencingApp?: {
                            appSlug?: string | undefined;
                            appLink?: string | undefined;
                        } | undefined;
                        migratedToOrgFrom?: {
                            lastMigrationTime?: string | undefined;
                            reverted?: boolean | undefined;
                            teamSlug?: string | null | undefined;
                            lastRevertTime?: string | undefined;
                        } | undefined;
                        paymentId?: string | undefined;
                        orgSeats?: number | null | undefined;
                        orgPricePerSeat?: number | null | undefined;
                    };
                }, "metadata"> & {
                    requestedSlug: string | null;
                    metadata: {
                        requestedSlug: string | null;
                        subscriptionId?: string | null | undefined;
                        billingPeriod?: import('../../../../prisma/zod-utils').BillingPeriod | undefined;
                        subscriptionItemId?: string | null | undefined;
                        defaultConferencingApp?: {
                            appSlug?: string | undefined;
                            appLink?: string | undefined;
                        } | undefined;
                        migratedToOrgFrom?: {
                            lastMigrationTime?: string | undefined;
                            reverted?: boolean | undefined;
                            teamSlug?: string | null | undefined;
                            lastRevertTime?: string | undefined;
                        } | undefined;
                        paymentId?: string | undefined;
                        orgSeats?: number | null | undefined;
                        orgPricePerSeat?: number | null | undefined;
                    };
                };
                userId: number;
                id: number;
                uid: string;
                createdAt: Date & string;
                updatedAt: Date & string;
                username: string;
                organizationId: number;
                upId: string;
            };
            locale: string | null;
            name: string | null;
            id: number;
            uuid: string;
            email: string;
            movedToProfileId: number | null;
            username: string | null;
            emailVerified: Date | null;
            bio: string | null;
            avatarUrl: string | null;
            timeZone: string;
            weekStart: string;
            bufferTime: number;
            hideBranding: boolean;
            theme: string | null;
            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;
            requiresBookerEmailVerification: boolean | null;
            verified: boolean | null;
            disableImpersonation: boolean;
            locked: boolean;
            isPlatformManaged: boolean;
            teams: {
                userId: number;
                role: import('../../../../kysely/types.ts').MembershipRole;
                id: number;
                createdAt: Date | null;
                updatedAt: Date | null;
                disableImpersonation: boolean;
                teamId: number;
                accepted: boolean;
                customRoleId: string | null;
            }[];
            profiles: {
                userId: number;
                id: number;
                uid: string;
                createdAt: Date;
                updatedAt: Date;
                username: string;
                organizationId: number;
            }[];
        })[] | 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;
            hideDurationSelectorInBookingPage?: boolean | 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?: {
                    users?: true | undefined;
                    length?: true | undefined;
                    hidden?: true | undefined;
                    userId?: true | undefined;
                    calVideoSettings?: true | undefined;
                    destinationCalendar?: true | undefined;
                    profile?: true | undefined;
                    team?: true | undefined;
                    schedule?: true | undefined;
                    availability?: true | undefined;
                    hashedLink?: true | undefined;
                    secondaryEmail?: true | undefined;
                    title?: true | undefined;
                    description?: true | undefined;
                    customInputs?: true | undefined;
                    createdAt?: true | undefined;
                    updatedAt?: true | undefined;
                    metadata?: true | undefined;
                    timeZone?: true | undefined;
                    requiresBookerEmailVerification?: true | undefined;
                    bookings?: true | undefined;
                    selectedCalendars?: true | undefined;
                    webhooks?: true | undefined;
                    workflows?: true | undefined;
                    hosts?: true | undefined;
                    _count?: true | undefined;
                    slug?: true | undefined;
                    parentId?: true | undefined;
                    bookingLimits?: true | undefined;
                    parent?: true | undefined;
                    children?: true | undefined;
                    teamId?: true | undefined;
                    interfaceLanguage?: true | undefined;
                    position?: true | undefined;
                    locations?: true | undefined;
                    offsetStart?: true | undefined;
                    profileId?: true | undefined;
                    useEventLevelSelectedCalendars?: true | undefined;
                    eventName?: true | undefined;
                    bookingFields?: 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;
                    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;
                    scheduleId?: true | undefined;
                    allowReschedulingCancelledBookings?: true | undefined;
                    price?: true | undefined;
                    currency?: true | undefined;
                    slotInterval?: true | undefined;
                    successRedirectUrl?: true | undefined;
                    forwardParamsSuccessRedirect?: true | undefined;
                    redirectUrlOnNoRoutingFormResponse?: 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;
                    owner?: true | undefined;
                    instantMeetingSchedule?: true | undefined;
                    aiPhoneCallConfig?: true | undefined;
                    fieldTranslations?: true | undefined;
                    restrictionSchedule?: true | undefined;
                    hostGroups?: 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;
            apps?: {
                salesforce?: {
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                    roundRobinLeadSkip?: boolean | undefined;
                    roundRobinSkipCheckRecordOn?: import('../../../../app-store/salesforce/lib/enums').SalesforceRecordEnum | undefined;
                    rrSkipFieldRules?: {
                        value: string;
                        field: string;
                        action: "ignore" | "must_include";
                    }[] | 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;
                dailyvideo?: {} | undefined;
                googlevideo?: {} | undefined;
                jitsivideo?: {} | undefined;
                tandemvideo?: {} | undefined;
                zoomvideo?: {} | undefined;
                databuddy?: {
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                    DATABUDDY_SCRIPT_URL?: string | undefined;
                    DATABUDDY_API_URL?: string | undefined;
                    CLIENT_ID?: string | undefined;
                } | undefined;
                fathom?: {
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                    trackingId?: string | undefined;
                } | undefined;
                ga4?: {
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                    trackingId?: string | undefined;
                } | undefined;
                gtm?: {
                    trackingId: string;
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                "booking-pages-tag"?: {
                    trackingId: string;
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                insihts?: {
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                    SITE_ID?: string | undefined;
                    SCRIPT_URL?: string | undefined;
                } | undefined;
                jelly?: {} | undefined;
                matomo?: {
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                    SITE_ID?: string | undefined;
                    MATOMO_URL?: string | undefined;
                } | undefined;
                metapixel?: {
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                    trackingId?: string | undefined;
                } | undefined;
                "event-type-app-card"?: {
                    isSunrise: boolean;
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                nextcloudtalk?: {} | undefined;
                office365video?: {
                    client_id: string;
                    client_secret: string;
                } | undefined;
                plausible?: {
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                    trackingId?: string | undefined;
                    PLAUSIBLE_URL?: string | undefined;
                } | undefined;
                posthog?: {
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                    TRACKING_ID?: string | undefined;
                    API_HOST?: string | undefined;
                } | undefined;
                shimmervideo?: {} | undefined;
                twipla?: {
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                    SITE_ID?: string | undefined;
                } | undefined;
                umami?: {
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                    SITE_ID?: string | undefined;
                    SCRIPT_URL?: string | undefined;
                } | undefined;
                webex?: {} | undefined;
                feishucalendar?: {} | undefined;
                giphy?: {
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                    thankYouPage?: string | undefined;
                } | undefined;
                googlecalendar?: {} | undefined;
                hubspot?: {
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                    roundRobinLeadSkip?: boolean | undefined;
                    ifFreeEmailDomainSkipOwnerCheck?: boolean | undefined;
                    skipContactCreation?: boolean | undefined;
                    onBookingWriteToEventObject?: boolean | undefined;
                    ignoreGuests?: boolean | undefined;
                    setOrganizerAsOwner?: boolean | undefined;
                    overwriteContactOwner?: boolean | undefined;
                    onBookingWriteToEventObjectFields?: Record<string, {
                        value: string | boolean;
                        fieldType: import('../../../../app-store/_lib/crm-enums').CrmFieldType;
                        whenToWrite: import('../../../../app-store/_lib/crm-enums').WhenToWrite;
                    }> | undefined;
                } | undefined;
                larkcalendar?: {} | undefined;
                office365calendar?: {
                    client_id: string;
                    client_secret: string;
                } | undefined;
                stripe?: {
                    price: number;
                    currency: string;
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                    paymentOption?: string | undefined;
                    refundPolicy?: import('../../../../lib/payment/types').RefundPolicy | undefined;
                    refundDaysCount?: number | undefined;
                    refundCountCalendarDays?: boolean | undefined;
                    autoChargeNoShowFeeIfCancelled?: boolean | undefined;
                    autoChargeNoShowFeeTimeValue?: number | undefined;
                    autoChargeNoShowFeeTimeUnit?: "days" | "minutes" | "hours" | undefined;
                } | undefined;
                vital?: {} | undefined;
                alby?: {
                    price: number;
                    currency: string;
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                    paymentOption?: string | undefined;
                } | undefined;
                basecamp3?: {
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                btcpayserver?: {
                    price: number;
                    currency: string;
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                    paymentOption?: string | undefined;
                } | undefined;
                closecom?: {
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                dub?: {} | undefined;
                hitpay?: {
                    price: number;
                    currency: string;
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                    paymentOption?: string | undefined;
                } | undefined;
                intercom?: {} | undefined;
                make?: {} | undefined;
                "mock-payment-app"?: {
                    price: number;
                    currency: string;
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                    paymentOption?: string | undefined;
                } | undefined;
                paypal?: {
                    price: number;
                    currency: string;
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                    paymentOption?: string | undefined;
                } | undefined;
                "pipedrive-crm"?: {
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                qr_code?: {
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                "routing-forms"?: any;
                wordpress?: {
                    isSunrise: boolean;
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                zapier?: {} | undefined;
                "zoho-bigin"?: {
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                zohocalendar?: {} | undefined;
                zohocrm?: {
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
            } | undefined;
        } | null;
        isDynamic: boolean;
        periodCountCalendarDays: boolean;
        periodStartDate: null;
        periodEndDate: null;
        beforeEventBuffer: number;
        afterEventBuffer: number;
        periodType: "UNLIMITED";
        periodDays: null;
        slotInterval: null;
        offsetStart: number;
        customInputs: {
            type: "TEXT" | "TEXTLONG" | "NUMBER" | "BOOL" | "RADIO" | "PHONE";
            id: number;
            eventTypeId: number;
            label: string;
            required: boolean;
            placeholder: string;
            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;
        enablePerHostLocations: boolean;
        redirectUrlOnNoRoutingFormResponse: null;
        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;
            hideDurationSelectorInBookingPage?: boolean | 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?: {
                    users?: true | undefined;
                    length?: true | undefined;
                    hidden?: true | undefined;
                    userId?: true | undefined;
                    calVideoSettings?: true | undefined;
                    destinationCalendar?: true | undefined;
                    profile?: true | undefined;
                    team?: true | undefined;
                    schedule?: true | undefined;
                    availability?: true | undefined;
                    hashedLink?: true | undefined;
                    secondaryEmail?: true | undefined;
                    title?: true | undefined;
                    description?: true | undefined;
                    customInputs?: true | undefined;
                    createdAt?: true | undefined;
                    updatedAt?: true | undefined;
                    metadata?: true | undefined;
                    timeZone?: true | undefined;
                    requiresBookerEmailVerification?: true | undefined;
                    bookings?: true | undefined;
                    selectedCalendars?: true | undefined;
                    webhooks?: true | undefined;
                    workflows?: true | undefined;
                    hosts?: true | undefined;
                    _count?: true | undefined;
                    slug?: true | undefined;
                    parentId?: true | undefined;
                    bookingLimits?: true | undefined;
                    parent?: true | undefined;
                    children?: true | undefined;
                    teamId?: true | undefined;
                    interfaceLanguage?: true | undefined;
                    position?: true | undefined;
                    locations?: true | undefined;
                    offsetStart?: true | undefined;
                    profileId?: true | undefined;
                    useEventLevelSelectedCalendars?: true | undefined;
                    eventName?: true | undefined;
                    bookingFields?: 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;
                    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;
                    scheduleId?: true | undefined;
                    allowReschedulingCancelledBookings?: true | undefined;
                    price?: true | undefined;
                    currency?: true | undefined;
                    slotInterval?: true | undefined;
                    successRedirectUrl?: true | undefined;
                    forwardParamsSuccessRedirect?: true | undefined;
                    redirectUrlOnNoRoutingFormResponse?: 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;
                    owner?: true | undefined;
                    instantMeetingSchedule?: true | undefined;
                    aiPhoneCallConfig?: true | undefined;
                    fieldTranslations?: true | undefined;
                    restrictionSchedule?: true | undefined;
                    hostGroups?: 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;
            apps?: {
                salesforce?: {
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                    roundRobinLeadSkip?: boolean | undefined;
                    roundRobinSkipCheckRecordOn?: import('../../../../app-store/salesforce/lib/enums').SalesforceRecordEnum | undefined;
                    rrSkipFieldRules?: {
                        value: string;
                        field: string;
                        action: "ignore" | "must_include";
                    }[] | 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;
                dailyvideo?: {} | undefined;
                googlevideo?: {} | undefined;
                jitsivideo?: {} | undefined;
                tandemvideo?: {} | undefined;
                zoomvideo?: {} | undefined;
                databuddy?: {
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                    DATABUDDY_SCRIPT_URL?: string | undefined;
                    DATABUDDY_API_URL?: string | undefined;
                    CLIENT_ID?: string | undefined;
                } | undefined;
                fathom?: {
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                    trackingId?: string | undefined;
                } | undefined;
                ga4?: {
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                    trackingId?: string | undefined;
                } | undefined;
                gtm?: {
                    trackingId: string;
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                "booking-pages-tag"?: {
                    trackingId: string;
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                insihts?: {
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                    SITE_ID?: string | undefined;
                    SCRIPT_URL?: string | undefined;
                } | undefined;
                jelly?: {} | undefined;
                matomo?: {
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                    SITE_ID?: string | undefined;
                    MATOMO_URL?: string | undefined;
                } | undefined;
                metapixel?: {
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                    trackingId?: string | undefined;
                } | undefined;
                "event-type-app-card"?: {
                    isSunrise: boolean;
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                nextcloudtalk?: {} | undefined;
                office365video?: {
                    client_id: string;
                    client_secret: string;
                } | undefined;
                plausible?: {
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                    trackingId?: string | undefined;
                    PLAUSIBLE_URL?: string | undefined;
                } | undefined;
                posthog?: {
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                    TRACKING_ID?: string | undefined;
                    API_HOST?: string | undefined;
                } | undefined;
                shimmervideo?: {} | undefined;
                twipla?: {
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                    SITE_ID?: string | undefined;
                } | undefined;
                umami?: {
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                    SITE_ID?: string | undefined;
                    SCRIPT_URL?: string | undefined;
                } | undefined;
                webex?: {} | undefined;
                feishucalendar?: {} | undefined;
                giphy?: {
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                    thankYouPage?: string | undefined;
                } | undefined;
                googlecalendar?: {} | undefined;
                hubspot?: {
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                    roundRobinLeadSkip?: boolean | undefined;
                    ifFreeEmailDomainSkipOwnerCheck?: boolean | undefined;
                    skipContactCreation?: boolean | undefined;
                    onBookingWriteToEventObject?: boolean | undefined;
                    ignoreGuests?: boolean | undefined;
                    setOrganizerAsOwner?: boolean | undefined;
                    overwriteContactOwner?: boolean | undefined;
                    onBookingWriteToEventObjectFields?: Record<string, {
                        value: string | boolean;
                        fieldType: import('../../../../app-store/_lib/crm-enums').CrmFieldType;
                        whenToWrite: import('../../../../app-store/_lib/crm-enums').WhenToWrite;
                    }> | undefined;
                } | undefined;
                larkcalendar?: {} | undefined;
                office365calendar?: {
                    client_id: string;
                    client_secret: string;
                } | undefined;
                stripe?: {
                    price: number;
                    currency: string;
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                    paymentOption?: string | undefined;
                    refundPolicy?: import('../../../../lib/payment/types').RefundPolicy | undefined;
                    refundDaysCount?: number | undefined;
                    refundCountCalendarDays?: boolean | undefined;
                    autoChargeNoShowFeeIfCancelled?: boolean | undefined;
                    autoChargeNoShowFeeTimeValue?: number | undefined;
                    autoChargeNoShowFeeTimeUnit?: "days" | "minutes" | "hours" | undefined;
                } | undefined;
                vital?: {} | undefined;
                alby?: {
                    price: number;
                    currency: string;
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                    paymentOption?: string | undefined;
                } | undefined;
                basecamp3?: {
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                btcpayserver?: {
                    price: number;
                    currency: string;
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                    paymentOption?: string | undefined;
                } | undefined;
                closecom?: {
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                dub?: {} | undefined;
                hitpay?: {
                    price: number;
                    currency: string;
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                    paymentOption?: string | undefined;
                } | undefined;
                intercom?: {} | undefined;
                make?: {} | undefined;
                "mock-payment-app"?: {
                    price: number;
                    currency: string;
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                    paymentOption?: string | undefined;
                } | undefined;
                paypal?: {
                    price: number;
                    currency: string;
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                    paymentOption?: string | undefined;
                } | undefined;
                "pipedrive-crm"?: {
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                qr_code?: {
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                "routing-forms"?: any;
                wordpress?: {
                    isSunrise: boolean;
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                zapier?: {} | undefined;
                "zoho-bigin"?: {
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                zohocalendar?: {} | undefined;
                zohocrm?: {
                    credentialId?: number | undefined;
                    enabled?: boolean | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
            } | undefined;
        } | null;
        customInputs: {
            type: "TEXT" | "TEXTLONG" | "NUMBER" | "BOOL" | "RADIO" | "PHONE";
            id: number;
            eventTypeId: number;
            label: string;
            required: boolean;
            placeholder: string;
            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" | "phone" | "name" | "select" | "email" | "url" | "address" | "text" | "textarea" | "multiemail" | "multiselect" | "checkbox" | "radio" | "radioInput";
            hidden?: boolean | undefined;
            options?: {
                value: string;
                label: string;
                price?: number | undefined;
            }[] | undefined;
            price?: number | undefined;
            minLength?: number | undefined;
            maxLength?: number | undefined;
            label?: string | undefined;
            required?: boolean | undefined;
            placeholder?: string | 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;
            excludeEmails?: string | undefined;
            requireEmails?: string | undefined;
            variant?: string | undefined;
            variantsConfig?: {
                variants: Record<string, {
                    fields: {
                        name: string;
                        type: "number" | "boolean" | "phone" | "name" | "select" | "email" | "url" | "address" | "text" | "textarea" | "multiemail" | "multiselect" | "checkbox" | "radio" | "radioInput";
                        price?: number | undefined;
                        minLength?: number | undefined;
                        maxLength?: number | undefined;
                        label?: string | undefined;
                        required?: boolean | undefined;
                        placeholder?: string | undefined;
                        labelAsSafeHtml?: string | undefined;
                        excludeEmails?: string | undefined;
                        requireEmails?: string | undefined;
                    }[];
                }>;
            } | undefined;
            views?: {
                id: string;
                label: string;
                description?: string | undefined;
            }[] | undefined;
            hideWhenJustOneOption?: boolean | undefined;
            editable?: "user" | "system" | "system-but-optional" | "system-but-hidden" | "user-readonly" | undefined;
            sources?: {
                type: string;
                id: 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;
            eventTypeId: number;
            enabled: boolean;
            yourPhoneNumber: string;
            numberToCall: string;
            templateType: string;
            schedulerName: string | null;
            guestName: string | null;
            guestEmail: string | null;
            guestCompany: string | null;
            beginMessage: string | null;
            generalPrompt: 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;
            avatarUrl: string | null;
            weekStart: string;
            theme: string | null;
            defaultScheduleId: number | null;
            brandColor: string | null;
            darkBrandColor: string | null;
            organization: {
                name: string;
                organizationSettings: {
                    disableAutofillOnBookingPage: boolean;
                } | null;
                id: number;
                slug: string | null;
                bannerUrl: string | null;
            } | 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;
                avatarUrl: string | null;
                weekStart: string;
                theme: string | null;
                defaultScheduleId: number | null;
                brandColor: string | null;
                darkBrandColor: string | null;
                organization: {
                    name: string;
                    organizationSettings: {
                        disableAutofillOnBookingPage: boolean;
                    } | null;
                    id: number;
                    slug: string | null;
                    bannerUrl: string | null;
                } | 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;
                avatarUrl: string | null;
                weekStart: string;
                theme: string | null;
                defaultScheduleId: number | null;
                brandColor: string | null;
                darkBrandColor: string | null;
                organization: {
                    name: string;
                    organizationSettings: {
                        disableAutofillOnBookingPage: boolean;
                    } | null;
                    id: number;
                    slug: string | null;
                    bannerUrl: string | null;
                } | null;
            } & {
                nonProfileUsername: string | null;
                profile: import('@calcom/types/UserProfile').UserProfile;
            };
        }[] | undefined;
        length: number;
        hidden: boolean;
        team: {
            name: string;
            organizationSettings: {
                disableAutofillOnBookingPage: boolean;
            } | null;
            metadata: import('@prisma/client/runtime/client').JsonValue;
            theme: string | null;
            brandColor: string | null;
            darkBrandColor: string | null;
            slug: string | null;
            logoUrl: string | null;
            hideTeamProfileLink: boolean;
            isPrivate: boolean;
            parentId: number | null;
            parent: {
                name: string;
                organizationSettings: {
                    disableAutofillOnBookingPage: boolean;
                } | null;
                slug: string | null;
                logoUrl: string | null;
                bannerUrl: string | null;
            } | null;
        } | null;
        schedule: {
            id: number;
            timeZone: string | null;
        } | null;
        id: number;
        title: string;
        requiresBookerEmailVerification: boolean;
        workflows: ({
            workflow: {
                steps: {
                    id: number;
                    inboundAgentId: string | null;
                    action: import('../../../../kysely/types.ts').WorkflowActions;
                    sender: string | null;
                    template: import('../../../../kysely/types.ts').WorkflowTemplates;
                    workflowId: number;
                    stepNumber: number;
                    sendTo: string | null;
                    reminderBody: string | null;
                    emailSubject: string | null;
                    numberRequired: boolean | null;
                    numberVerificationPending: boolean;
                    includeCalendarEvent: boolean;
                    verifiedAt: Date | null;
                    agentId: string | null;
                }[];
            } & {
                name: string;
                type: import('../../../../kysely/types.ts').WorkflowType;
                userId: number | null;
                id: number;
                teamId: number | null;
                position: number;
                time: number | null;
                timeUnit: import('../../../../kysely/types.ts').TimeUnit | null;
                isActiveOnAll: boolean;
                trigger: import('../../../../kysely/types.ts').WorkflowTriggerEvents;
            };
        } & {
            id: number;
            eventTypeId: number;
            workflowId: number;
        })[];
        slug: string;
        parent: {
            team: {
                theme: string | null;
                brandColor: string | null;
                darkBrandColor: string | null;
            } | null;
        } | null;
        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;
        autoTranslateDescriptionEnabled: boolean;
        disableGuests: boolean;
        seatsPerTimeSlot: number | null;
        minimumRescheduleNotice: number | null;
        seatsShowAvailabilityCount: boolean | null;
        schedulingType: import('../../../../kysely/types.ts').SchedulingType | null;
        price: number;
        currency: string;
        successRedirectUrl: string | null;
        forwardParamsSuccessRedirect: boolean | null;
        redirectUrlOnNoRoutingFormResponse: string | null;
        rescheduleWithSameRoundRobinHost: boolean;
        enablePerHostLocations: boolean;
        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: any;
    isPending: any;
    isError: any;
    isSuccess: any;
    isLoading: any;
    invalidate: any;
    dataUpdatedAt: any;
};
//# sourceMappingURL=event.d.ts.map