export declare const QUERY_KEY = "use-event-by-id";
export type UseAtomUpdateEventTypeProps = {
    onSuccess?: () => void;
    onError?: (err: Error) => void;
    onSettled?: () => void;
    teamId?: number;
};
export declare const useAtomUpdateEventType: ({ onSuccess, onError, onSettled, teamId, }: UseAtomUpdateEventTypeProps) => import("@tanstack/react-query").UseMutationResult<{
    id: number;
    title: string;
    slug: string;
    description: string | null;
    position: number;
    locations: import('../../../../prisma-client').Prisma.JsonValue | null;
    length: number;
    offsetStart: number;
    hidden: boolean;
    userId: number | null;
    profileId: number | null;
    teamId: number | null;
    eventName: string | null;
    parentId: number | null;
    bookingFields: import('../../../../prisma-client').Prisma.JsonValue | null;
    timeZone: string | null;
    periodType: import('../../../../prisma-client').$Enums.PeriodType;
    periodStartDate: Date | null;
    periodEndDate: Date | null;
    periodDays: number | null;
    periodCountCalendarDays: boolean | null;
    lockTimeZoneToggleOnBookingPage: boolean;
    requiresConfirmation: boolean;
    requiresConfirmationWillBlockSlot: boolean;
    requiresBookerEmailVerification: boolean;
    recurringEvent: import('../../../../prisma-client').Prisma.JsonValue | null;
    disableGuests: boolean;
    hideCalendarNotes: boolean;
    hideCalendarEventDetails: boolean;
    minimumBookingNotice: number;
    beforeEventBuffer: number;
    afterEventBuffer: number;
    seatsPerTimeSlot: number | null;
    onlyShowFirstAvailableSlot: boolean;
    seatsShowAttendees: boolean | null;
    seatsShowAvailabilityCount: boolean | null;
    schedulingType: import('../../../../prisma-client').$Enums.SchedulingType | null;
    scheduleId: number | null;
    price: number;
    currency: string;
    slotInterval: number | null;
    metadata: import('../../../../prisma-client').Prisma.JsonValue | null;
    successRedirectUrl: string | null;
    forwardParamsSuccessRedirect: boolean | null;
    bookingLimits: import('../../../../prisma-client').Prisma.JsonValue | null;
    durationLimits: import('../../../../prisma-client').Prisma.JsonValue | null;
    isInstantEvent: boolean;
    instantMeetingExpiryTimeOffsetInSeconds: number;
    instantMeetingScheduleId: number | null;
    assignAllTeamMembers: boolean;
    useEventTypeDestinationCalendarEmail: boolean;
    isRRWeightsEnabled: boolean;
    eventTypeColor: import('../../../../prisma-client').Prisma.JsonValue | null;
    rescheduleWithSameRoundRobinHost: boolean;
    secondaryEmailId: number | null;
}, Error, {
    id: number;
    eventTypeId?: number | undefined;
    users?: (number[] & (string | number)[]) | undefined;
    schedule?: number | null | undefined;
    length?: number | undefined;
    position?: number | undefined;
    title?: string | undefined;
    metadata?: {
        smartContractAddress?: string | undefined;
        blockchainId?: number | undefined;
        multipleDuration?: number[] | undefined;
        giphyThankYouPage?: string | 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;
            campsite?: {} | undefined;
            closecom?: {
                enabled?: boolean | undefined;
                credentialId?: number | undefined;
                appCategories?: string[] | undefined;
            } | undefined;
            dailyvideo?: {} | 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;
            hubspot?: {
                enabled?: boolean | undefined;
                credentialId?: number | undefined;
                appCategories?: 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/recordEnum').SalesforceRecordEnum | undefined;
                skipContactCreation?: boolean | undefined;
                createEventOn?: import('../../../../app-store/salesforce/lib/recordEnum').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;
            } | undefined;
            shimmervideo?: {} | undefined;
            stripe?: {
                price: number;
                currency: string;
                credentialId?: number | undefined;
                appCategories?: string[] | undefined;
                paymentOption?: string | undefined;
                enabled?: boolean | 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;
        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;
                length?: true | undefined;
                position?: true | undefined;
                title?: true | undefined;
                metadata?: true | undefined;
                hidden?: true | undefined;
                parent?: true | undefined;
                price?: true | undefined;
                currency?: true | undefined;
                description?: true | undefined;
                children?: true | undefined;
                userId?: true | undefined;
                timeZone?: true | undefined;
                slug?: true | undefined;
                locations?: true | undefined;
                offsetStart?: true | undefined;
                profileId?: true | undefined;
                teamId?: true | undefined;
                eventName?: true | undefined;
                parentId?: true | undefined;
                bookingFields?: true | undefined;
                periodType?: true | undefined;
                periodStartDate?: true | undefined;
                periodEndDate?: true | undefined;
                periodDays?: true | undefined;
                periodCountCalendarDays?: true | undefined;
                lockTimeZoneToggleOnBookingPage?: true | undefined;
                requiresConfirmation?: true | undefined;
                requiresConfirmationWillBlockSlot?: true | undefined;
                requiresBookerEmailVerification?: 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;
                seatsShowAttendees?: true | undefined;
                seatsShowAvailabilityCount?: true | undefined;
                schedulingType?: true | undefined;
                scheduleId?: 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;
                assignAllTeamMembers?: true | undefined;
                useEventTypeDestinationCalendarEmail?: true | undefined;
                isRRWeightsEnabled?: true | undefined;
                eventTypeColor?: true | undefined;
                rescheduleWithSameRoundRobinHost?: true | undefined;
                secondaryEmailId?: true | undefined;
                hosts?: true | undefined;
                users?: true | undefined;
                owner?: true | undefined;
                team?: true | undefined;
                hashedLink?: true | undefined;
                availability?: true | undefined;
                webhooks?: true | undefined;
                destinationCalendar?: true | undefined;
                customInputs?: true | undefined;
                workflows?: true | undefined;
                instantMeetingSchedule?: true | undefined;
                aiPhoneCallConfig?: true | undefined;
                secondaryEmail?: true | undefined;
                _count?: true | undefined;
            } | undefined;
        } | undefined;
        requiresConfirmationThreshold?: {
            time: number;
            unit: "milliseconds" | "seconds" | "minutes" | "hours" | "days" | "months" | "years" | "dates";
        } | undefined;
        config?: {
            useHostSchedulesForTeamEvent?: boolean | undefined;
        } | undefined;
        bookerLayouts?: {
            enabledLayouts: import('../../../../prisma/zod-utils').BookerLayouts[];
            defaultLayout: import('../../../../prisma/zod-utils').BookerLayouts;
        } | null | undefined;
    } | null | undefined;
    hidden?: boolean | undefined;
    price?: number | undefined;
    currency?: string | undefined;
    description?: string | null | undefined;
    children?: {
        hidden: boolean;
        owner: {
            id: number;
            name: string;
            email: string;
            eventTypeSlugs: string[];
        };
    }[] | undefined;
    userId?: number | null | undefined;
    timeZone?: string | null | undefined;
    slug?: string | undefined;
    locations?: {
        type: string;
        address?: string | undefined;
        link?: string | undefined;
        displayLocationPublicly?: boolean | undefined;
        hostPhoneNumber?: string | undefined;
        credentialId?: number | undefined;
        teamName?: string | undefined;
    }[] | undefined;
    offsetStart?: number | undefined;
    profileId?: number | null | undefined;
    teamId?: number | null | undefined;
    eventName?: string | null | undefined;
    parentId?: number | null | undefined;
    bookingFields?: {
        type: "number" | "boolean" | "url" | "text" | "address" | "select" | "textarea" | "name" | "multiselect" | "email" | "phone" | "multiemail" | "checkbox" | "radio" | "radioInput";
        name: string;
        options?: {
            label: string;
            value: string;
        }[] | undefined;
        label?: string | undefined;
        placeholder?: string | undefined;
        required?: boolean | undefined;
        maxLength?: number | undefined;
        defaultLabel?: string | undefined;
        defaultPlaceholder?: string | undefined;
        labelAsSafeHtml?: string | undefined;
        getOptionsAt?: string | undefined;
        optionsInputs?: Record<string, {
            type: "text" | "address" | "phone";
            required?: boolean | undefined;
            placeholder?: string | undefined;
        }> | undefined;
        minLength?: number | undefined;
        variant?: string | undefined;
        variantsConfig?: {
            variants: Record<string, {
                fields: {
                    type: "number" | "boolean" | "url" | "text" | "address" | "select" | "textarea" | "name" | "multiselect" | "email" | "phone" | "multiemail" | "checkbox" | "radio" | "radioInput";
                    name: string;
                    label?: string | undefined;
                    placeholder?: string | undefined;
                    required?: boolean | undefined;
                    maxLength?: number | undefined;
                    labelAsSafeHtml?: string | undefined;
                    minLength?: number | undefined;
                }[];
            }>;
        } | undefined;
        views?: {
            label: string;
            id: string;
            description?: string | undefined;
        }[] | undefined;
        hideWhenJustOneOption?: boolean | undefined;
        hidden?: boolean | undefined;
        editable?: "system" | "system-but-optional" | "system-but-hidden" | "user" | "user-readonly" | undefined;
        sources?: {
            label: string;
            type: string;
            id: string;
            editUrl?: string | undefined;
            fieldRequired?: boolean | undefined;
        }[] | undefined;
        disableOnPrefill?: boolean | undefined;
    }[] | undefined;
    periodType?: "UNLIMITED" | "ROLLING" | "ROLLING_WINDOW" | "RANGE" | undefined;
    periodStartDate?: Date | null | undefined;
    periodEndDate?: Date | null | undefined;
    periodDays?: number | null | undefined;
    periodCountCalendarDays?: boolean | null | undefined;
    lockTimeZoneToggleOnBookingPage?: boolean | undefined;
    requiresConfirmation?: boolean | undefined;
    requiresConfirmationWillBlockSlot?: boolean | undefined;
    requiresBookerEmailVerification?: boolean | undefined;
    recurringEvent?: {
        interval: number;
        count: number;
        freq: import('../../../../prisma/zod-utils').Frequency;
        dtstart?: Date | undefined;
        until?: Date | undefined;
        tzid?: string | undefined;
    } | null | undefined;
    disableGuests?: boolean | undefined;
    hideCalendarNotes?: boolean | undefined;
    hideCalendarEventDetails?: boolean | undefined;
    minimumBookingNotice?: number | undefined;
    beforeEventBuffer?: number | undefined;
    afterEventBuffer?: number | undefined;
    seatsPerTimeSlot?: number | null | undefined;
    onlyShowFirstAvailableSlot?: boolean | undefined;
    seatsShowAttendees?: boolean | null | undefined;
    seatsShowAvailabilityCount?: boolean | null | undefined;
    schedulingType?: "ROUND_ROBIN" | "COLLECTIVE" | "MANAGED" | null | undefined;
    scheduleId?: number | null | undefined;
    slotInterval?: number | null | undefined;
    successRedirectUrl?: string | null | undefined;
    forwardParamsSuccessRedirect?: boolean | null | undefined;
    bookingLimits?: {
        PER_DAY?: number | undefined;
        PER_WEEK?: number | undefined;
        PER_MONTH?: number | undefined;
        PER_YEAR?: number | undefined;
    } | null | undefined;
    durationLimits?: {
        PER_DAY?: number | undefined;
        PER_WEEK?: number | undefined;
        PER_MONTH?: number | undefined;
        PER_YEAR?: number | undefined;
    } | null | undefined;
    isInstantEvent?: boolean | undefined;
    instantMeetingExpiryTimeOffsetInSeconds?: number | undefined;
    instantMeetingScheduleId?: number | null | undefined;
    assignAllTeamMembers?: boolean | undefined;
    useEventTypeDestinationCalendarEmail?: boolean | undefined;
    isRRWeightsEnabled?: boolean | undefined;
    eventTypeColor?: {
        lightEventTypeColor: string;
        darkEventTypeColor: string;
    } | null | undefined;
    rescheduleWithSameRoundRobinHost?: boolean | undefined;
    secondaryEmailId?: number | null | undefined;
    hosts?: {
        userId: number;
        profileId?: number | null | undefined;
        isFixed?: boolean | undefined;
        priority?: number | null | undefined;
        weight?: number | null | undefined;
        scheduleId?: number | null | undefined;
    }[] | undefined;
    destinationCalendar?: {
        integration: string;
        externalId: string;
    } | null | undefined;
    customInputs?: {
        label: string;
        type: "TEXT" | "TEXTLONG" | "NUMBER" | "BOOL" | "RADIO" | "PHONE";
        id: number;
        placeholder: string;
        required: boolean;
        eventTypeId: number;
        options?: {
            label: string;
            type: string;
        }[] | null | undefined;
        hasToBeCreated?: boolean | undefined;
    }[] | undefined;
    instantMeetingSchedule?: number | null | undefined;
    aiPhoneCallConfig?: {
        enabled: boolean;
        templateType: "CHECK_IN_APPOINTMENT" | "CUSTOM_TEMPLATE";
        generalPrompt: string;
        beginMessage: string | null;
        yourPhoneNumber?: string | undefined;
        numberToCall?: string | undefined;
        guestName?: string | null | undefined;
        guestEmail?: string | null | undefined;
        guestCompany?: string | null | undefined;
    } | undefined;
    calAiPhoneScript?: string | undefined;
    multiplePrivateLinks?: string[] | undefined;
}, unknown>;
//# sourceMappingURL=useAtomUpdateEventType.d.ts.map