import type { PrismaClient } from '../../../../../prisma';
import type { TrpcSessionUser } from '../../../types';
import type { TUpdateInputSchema } from "./update.schema";
type UpdateOptions = {
    ctx: {
        user: NonNullable<TrpcSessionUser>;
        prisma: PrismaClient;
    };
    input: TUpdateInputSchema;
};
export declare const updateHandler: ({ ctx, input }: UpdateOptions) => Promise<{
    workflow: ({
        team: {
            name: string;
            id: number;
            members: {
                id: number;
                role: import('../../../../../prisma-client').$Enums.MembershipRole;
                userId: number;
                teamId: number;
                disableImpersonation: boolean;
                accepted: boolean;
            }[];
            slug: string | null;
            isOrganization: boolean;
        } | null;
        steps: {
            id: number;
            template: import('../../../../../prisma-client').$Enums.WorkflowTemplates;
            action: import('../../../../../prisma-client').$Enums.WorkflowActions;
            stepNumber: number;
            workflowId: number;
            sendTo: string | null;
            reminderBody: string | null;
            emailSubject: string | null;
            numberRequired: boolean | null;
            sender: string | null;
            numberVerificationPending: boolean;
            includeCalendarEvent: boolean;
        }[];
        activeOn: {
            eventType: {
                id: number;
                length: number;
                title: string;
                metadata: import('../../../../../prisma-client').Prisma.JsonValue;
                description: string | null;
                price: number;
                hidden: boolean;
                currency: string;
                slug: string;
                userId: number | null;
                position: number;
                locations: import('../../../../../prisma-client').Prisma.JsonValue;
                offsetStart: number;
                profileId: number | null;
                teamId: number | null;
                useEventLevelSelectedCalendars: boolean;
                eventName: string | null;
                parentId: number | null;
                bookingFields: import('../../../../../prisma-client').Prisma.JsonValue;
                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;
                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;
                slotInterval: number | null;
                successRedirectUrl: string | null;
                forwardParamsSuccessRedirect: boolean | null;
                bookingLimits: import('../../../../../prisma-client').Prisma.JsonValue;
                durationLimits: import('../../../../../prisma-client').Prisma.JsonValue;
                isInstantEvent: boolean;
                instantMeetingExpiryTimeOffsetInSeconds: number;
                instantMeetingScheduleId: number | null;
                instantMeetingParameters: string[];
                assignAllTeamMembers: boolean;
                assignRRMembersUsingSegment: boolean;
                rrSegmentQueryValue: import('../../../../../prisma-client').Prisma.JsonValue;
                useEventTypeDestinationCalendarEmail: boolean;
                isRRWeightsEnabled: boolean;
                maxLeadThreshold: number | null;
                allowReschedulingPastBookings: boolean;
                eventTypeColor: import('../../../../../prisma-client').Prisma.JsonValue;
                rescheduleWithSameRoundRobinHost: boolean;
                secondaryEmailId: number | null;
            };
        }[];
        activeOnTeams: {
            team: {
                name: string;
                id: number;
                metadata: import('../../../../../prisma-client').Prisma.JsonValue;
                bio: string | null;
                theme: string | null;
                slug: string | null;
                parentId: number | null;
                timeZone: string;
                bookingLimits: import('../../../../../prisma-client').Prisma.JsonValue;
                createdAt: Date;
                weekStart: string;
                hideBranding: boolean;
                timeFormat: number | null;
                brandColor: string | null;
                darkBrandColor: string | null;
                smsLockState: import('../../../../../prisma-client').$Enums.SMSLockState;
                smsLockReviewedByAdmin: boolean;
                logoUrl: string | null;
                calVideoLogo: string | null;
                appLogo: string | null;
                appIconLogo: string | null;
                isPrivate: boolean;
                hideBookATeamMember: boolean;
                rrResetInterval: import('../../../../../prisma-client').$Enums.RRResetInterval | null;
                bannerUrl: string | null;
                isOrganization: boolean;
                pendingPayment: boolean;
                isPlatform: boolean;
                createdByOAuthClientId: string | null;
                includeManagedEventsInLimits: boolean;
            };
        }[];
    } & {
        name: string;
        id: number;
        time: number | null;
        trigger: import('../../../../../prisma-client').$Enums.WorkflowTriggerEvents;
        userId: number | null;
        position: number;
        teamId: number | null;
        timeUnit: import('../../../../../prisma-client').$Enums.TimeUnit | null;
        isActiveOnAll: boolean;
    }) | null;
}>;
export {};
//# sourceMappingURL=update.handler.d.ts.map