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;
    useEventLevelSelectedCalendars: boolean;
    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;
    requiresConfirmationForFreeEmail: boolean;
    requiresBookerEmailVerification: boolean;
    canSendCalVideoTranscriptionEmails: boolean;
    autoTranslateDescriptionEnabled: 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;
    instantMeetingParameters: string[];
    assignAllTeamMembers: boolean;
    assignRRMembersUsingSegment: boolean;
    rrSegmentQueryValue: import('../../../../prisma-client').Prisma.JsonValue | null;
    useEventTypeDestinationCalendarEmail: boolean;
    isRRWeightsEnabled: boolean;
    maxLeadThreshold: number | null;
    allowReschedulingPastBookings: 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;
    children?: {
        owner: {
            name: string;
            id: number;
            email: string;
            eventTypeSlugs: string[];
        };
        hidden: boolean;
    }[] | undefined;
    length?: number | undefined;
    title?: string | undefined;
    metadata?: {
        config?: {
            useHostSchedulesForTeamEvent?: boolean | undefined;
        } | undefined;
        smartContractAddress?: string | undefined;
        blockchainId?: number | undefined;
        multipleDuration?: number[] | undefined;
        giphyThankYouPage?: string | undefined;
        additionalNotesRequired?: boolean | undefined;
        disableSuccessPage?: boolean | undefined;
        disableStandardEmails?: {
            all?: {
                host?: boolean | undefined;
                attendee?: boolean | undefined;
            } | undefined;
            confirmation?: {
                host?: boolean | undefined;
                attendee?: boolean | undefined;
            } | undefined;
        } | undefined;
        managedEventConfig?: {
            unlockedFields?: {
                schedule?: true | undefined;
                profile?: true | undefined;
                bookings?: true | undefined;
                users?: true | undefined;
                children?: true | undefined;
                length?: true | undefined;
                title?: true | undefined;
                metadata?: true | undefined;
                description?: true | undefined;
                price?: true | undefined;
                webhooks?: true | undefined;
                owner?: true | undefined;
                hidden?: true | undefined;
                team?: true | undefined;
                availability?: true | undefined;
                workflows?: true | undefined;
                hosts?: true | undefined;
                currency?: true | undefined;
                slug?: true | undefined;
                userId?: true | undefined;
                position?: true | undefined;
                locations?: true | undefined;
                offsetStart?: true | undefined;
                profileId?: true | undefined;
                teamId?: true | undefined;
                useEventLevelSelectedCalendars?: true | undefined;
                eventName?: true | undefined;
                parentId?: true | undefined;
                bookingFields?: true | undefined;
                timeZone?: true | undefined;
                periodType?: true | undefined;
                periodStartDate?: true | undefined;
                periodEndDate?: true | undefined;
                periodDays?: true | undefined;
                periodCountCalendarDays?: true | undefined;
                lockTimeZoneToggleOnBookingPage?: true | undefined;
                requiresConfirmation?: true | undefined;
                requiresConfirmationWillBlockSlot?: true | undefined;
                requiresConfirmationForFreeEmail?: true | undefined;
                requiresBookerEmailVerification?: true | undefined;
                canSendCalVideoTranscriptionEmails?: true | undefined;
                autoTranslateDescriptionEnabled?: 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;
                instantMeetingParameters?: true | undefined;
                assignAllTeamMembers?: true | undefined;
                assignRRMembersUsingSegment?: true | undefined;
                rrSegmentQueryValue?: true | undefined;
                useEventTypeDestinationCalendarEmail?: true | undefined;
                isRRWeightsEnabled?: true | undefined;
                maxLeadThreshold?: true | undefined;
                allowReschedulingPastBookings?: true | undefined;
                eventTypeColor?: true | undefined;
                rescheduleWithSameRoundRobinHost?: true | undefined;
                secondaryEmailId?: true | undefined;
                hashedLink?: true | undefined;
                destinationCalendar?: true | undefined;
                customInputs?: true | undefined;
                parent?: true | undefined;
                instantMeetingSchedule?: true | undefined;
                aiPhoneCallConfig?: true | undefined;
                fieldTranslations?: true | undefined;
                selectedCalendars?: true | undefined;
                secondaryEmail?: true | undefined;
                _count?: true | undefined;
            } | undefined;
        } | undefined;
        requiresConfirmationThreshold?: {
            time: number;
            unit: "months" | "years" | "days" | "hours" | "minutes" | "milliseconds" | "seconds" | "dates";
        } | undefined;
        bookerLayouts?: {
            enabledLayouts: import('../../../../prisma/zod-utils').BookerLayouts[];
            defaultLayout: import('../../../../prisma/zod-utils').BookerLayouts;
        } | null | undefined;
        apps?: unknown;
    } | null | undefined;
    description?: string | null | undefined;
    price?: number | undefined;
    hidden?: boolean | undefined;
    hosts?: {
        userId: number;
        profileId?: number | null | undefined;
        isFixed?: boolean | undefined;
        priority?: number | null | undefined;
        weight?: number | null | undefined;
        scheduleId?: number | null | undefined;
    }[] | undefined;
    currency?: string | undefined;
    slug?: string | undefined;
    userId?: number | null | undefined;
    position?: number | 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;
    useEventLevelSelectedCalendars?: boolean | undefined;
    eventName?: string | null | undefined;
    parentId?: number | null | undefined;
    bookingFields?: {
        name: string;
        type: "number" | "boolean" | "url" | "phone" | "name" | "address" | "select" | "textarea" | "text" | "checkbox" | "radio" | "email" | "multiselect" | "multiemail" | "radioInput";
        label?: string | undefined;
        required?: boolean | undefined;
        placeholder?: string | undefined;
        options?: {
            label: string;
            value: string;
        }[] | undefined;
        maxLength?: number | undefined;
        defaultLabel?: string | undefined;
        defaultPlaceholder?: string | undefined;
        labelAsSafeHtml?: string | undefined;
        getOptionsAt?: string | undefined;
        optionsInputs?: Record<string, {
            type: "phone" | "address" | "text";
            required?: boolean | undefined;
            placeholder?: string | undefined;
        }> | undefined;
        minLength?: number | undefined;
        excludeEmails?: string | undefined;
        requireEmails?: string | undefined;
        variant?: string | undefined;
        variantsConfig?: {
            variants: Record<string, {
                fields: {
                    name: string;
                    type: "number" | "boolean" | "url" | "phone" | "name" | "address" | "select" | "textarea" | "text" | "checkbox" | "radio" | "email" | "multiselect" | "multiemail" | "radioInput";
                    label?: string | undefined;
                    required?: boolean | undefined;
                    placeholder?: string | undefined;
                    maxLength?: number | undefined;
                    labelAsSafeHtml?: string | undefined;
                    minLength?: number | undefined;
                    excludeEmails?: string | undefined;
                    requireEmails?: string | undefined;
                }[];
            }>;
        } | undefined;
        views?: {
            id: string;
            label: string;
            description?: string | undefined;
        }[] | undefined;
        hideWhenJustOneOption?: boolean | undefined;
        hidden?: boolean | undefined;
        editable?: "user" | "system" | "system-but-optional" | "system-but-hidden" | "user-readonly" | undefined;
        sources?: {
            id: string;
            type: string;
            label: string;
            editUrl?: string | undefined;
            fieldRequired?: boolean | undefined;
        }[] | undefined;
        disableOnPrefill?: boolean | undefined;
    }[] | undefined;
    timeZone?: string | null | 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;
    requiresConfirmationForFreeEmail?: boolean | undefined;
    requiresBookerEmailVerification?: boolean | undefined;
    canSendCalVideoTranscriptionEmails?: boolean | undefined;
    autoTranslateDescriptionEnabled?: 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?: Partial<Record<"PER_WEEK" | "PER_MONTH" | "PER_YEAR" | "PER_DAY", number | undefined>> | null | undefined;
    durationLimits?: Partial<Record<"PER_WEEK" | "PER_MONTH" | "PER_YEAR" | "PER_DAY", number | undefined>> | null | undefined;
    isInstantEvent?: boolean | undefined;
    instantMeetingExpiryTimeOffsetInSeconds?: number | undefined;
    instantMeetingScheduleId?: number | null | undefined;
    instantMeetingParameters?: string[] | undefined;
    assignAllTeamMembers?: boolean | undefined;
    assignRRMembersUsingSegment?: boolean | undefined;
    rrSegmentQueryValue?: {
        type: "group";
        id?: string | undefined;
        children1?: Record<string, {
            type?: string | undefined;
            properties?: {
                field?: any;
                operator?: any;
                value?: any;
                valueSrc?: any;
                valueError?: (string | null)[] | undefined;
                valueType?: any;
            } | undefined;
        }> | undefined;
        properties?: any;
    } | {
        type: "switch_group";
        id?: string | undefined;
        children1?: Record<string, {
            type?: string | undefined;
            properties?: {
                field?: any;
                operator?: any;
                value?: any;
                valueSrc?: any;
                valueError?: (string | null)[] | undefined;
                valueType?: any;
            } | undefined;
        }> | undefined;
        properties?: any;
    } | null | undefined;
    useEventTypeDestinationCalendarEmail?: boolean | undefined;
    isRRWeightsEnabled?: boolean | undefined;
    maxLeadThreshold?: number | null | undefined;
    allowReschedulingPastBookings?: boolean | undefined;
    eventTypeColor?: {
        lightEventTypeColor: string;
        darkEventTypeColor: string;
    } | null | undefined;
    rescheduleWithSameRoundRobinHost?: boolean | undefined;
    secondaryEmailId?: number | null | undefined;
    destinationCalendar?: {
        integration: string;
        externalId: string;
    } | null | undefined;
    customInputs?: {
        id: number;
        type: "TEXT" | "PHONE" | "TEXTLONG" | "NUMBER" | "BOOL" | "RADIO";
        label: string;
        required: boolean;
        placeholder: string;
        eventTypeId: number;
        options?: {
            type: string;
            label: string;
        }[] | null | undefined;
        hasToBeCreated?: boolean | undefined;
    }[] | undefined;
    instantMeetingSchedule?: number | null | undefined;
    calAiPhoneScript?: string | undefined;
    multiplePrivateLinks?: string[] | undefined;
    aiPhoneCallConfig?: {
        enabled: boolean;
        templateType: "CHECK_IN_APPOINTMENT" | "CUSTOM_TEMPLATE";
        generalPrompt: string;
        yourPhoneNumber: string;
        numberToCall: string;
        beginMessage: string | null;
        guestName?: string | null | undefined;
        guestEmail?: string | null | undefined;
        guestCompany?: string | null | undefined;
    } | undefined;
}, unknown>;
//# sourceMappingURL=useAtomUpdateEventType.d.ts.map