import type { EventType as PrismaEventType } from '../../../prisma-client';
import { Prisma } from '../../../prisma-client';
import type { Ensure } from "@calcom/types/utils";
type NotSupportedProps = "locations";
type IEventType = Ensure<Partial<Omit<Prisma.EventTypeCreateInput, NotSupportedProps> & {
    userId: PrismaEventType["userId"];
    profileId: PrismaEventType["profileId"];
    teamId: PrismaEventType["teamId"];
    parentId: PrismaEventType["parentId"];
    scheduleId: PrismaEventType["scheduleId"];
}>, "title" | "slug" | "length">;
type UserWithSelectedCalendars<TSelectedCalendar extends {
    eventTypeId: number | null;
}> = {
    allSelectedCalendars: TSelectedCalendar[];
};
export declare class EventTypeRepository {
    private static generateCreateEventTypeData;
    static create(data: IEventType): Promise<{
        length: number;
        position: number;
        title: string;
        metadata: Prisma.JsonValue;
        hidden: boolean;
        id: number;
        price: number;
        currency: string;
        description: string | null;
        userId: number | null;
        timeZone: string | null;
        slug: string;
        locations: Prisma.JsonValue;
        offsetStart: number;
        profileId: number | null;
        teamId: number | null;
        useEventLevelSelectedCalendars: boolean;
        eventName: string | null;
        parentId: number | null;
        bookingFields: Prisma.JsonValue;
        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: 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: Prisma.JsonValue;
        durationLimits: Prisma.JsonValue;
        isInstantEvent: boolean;
        instantMeetingExpiryTimeOffsetInSeconds: number;
        instantMeetingScheduleId: number | null;
        instantMeetingParameters: string[];
        assignAllTeamMembers: boolean;
        assignRRMembersUsingSegment: boolean;
        rrSegmentQueryValue: Prisma.JsonValue;
        useEventTypeDestinationCalendarEmail: boolean;
        isRRWeightsEnabled: boolean;
        maxLeadThreshold: number | null;
        allowReschedulingPastBookings: boolean;
        eventTypeColor: Prisma.JsonValue;
        rescheduleWithSameRoundRobinHost: boolean;
        secondaryEmailId: number | null;
    }>;
    static createMany(data: IEventType[]): Promise<import('../../../prisma-client/runtime/library').GetBatchResult>;
    static findAllByUpId({ upId, userId }: {
        upId: string;
        userId: number;
    }, { orderBy, where, cursor: cursorId, limit, }?: {
        orderBy?: Prisma.EventTypeOrderByWithRelationInput[];
        where?: Prisma.EventTypeWhereInput;
        cursor?: number | null;
        limit?: number | null;
    }): Promise<{
        length: number;
        position: number;
        title: string;
        metadata: Prisma.JsonValue;
        hidden: boolean;
        id: number;
        price: number;
        currency: string;
        description: string | null;
        children: ({
            users: {
                id: number;
                name: string | null;
                username: string | null;
                avatarUrl: string | null;
            }[];
        } & {
            length: number;
            position: number;
            title: string;
            metadata: Prisma.JsonValue;
            hidden: boolean;
            id: number;
            price: number;
            currency: string;
            description: string | null;
            userId: number | null;
            timeZone: string | null;
            slug: string;
            locations: Prisma.JsonValue;
            offsetStart: number;
            profileId: number | null;
            teamId: number | null;
            useEventLevelSelectedCalendars: boolean;
            eventName: string | null;
            parentId: number | null;
            bookingFields: Prisma.JsonValue;
            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: 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: Prisma.JsonValue;
            durationLimits: Prisma.JsonValue;
            isInstantEvent: boolean;
            instantMeetingExpiryTimeOffsetInSeconds: number;
            instantMeetingScheduleId: number | null;
            instantMeetingParameters: string[];
            assignAllTeamMembers: boolean;
            assignRRMembersUsingSegment: boolean;
            rrSegmentQueryValue: Prisma.JsonValue;
            useEventTypeDestinationCalendarEmail: boolean;
            isRRWeightsEnabled: boolean;
            maxLeadThreshold: number | null;
            allowReschedulingPastBookings: boolean;
            eventTypeColor: Prisma.JsonValue;
            rescheduleWithSameRoundRobinHost: boolean;
            secondaryEmailId: number | null;
        })[];
        userId: number | null;
        timeZone: string | null;
        slug: string;
        locations: Prisma.JsonValue;
        offsetStart: number;
        profileId: number | null;
        teamId: number | null;
        useEventLevelSelectedCalendars: boolean;
        eventName: string | null;
        parentId: number | null;
        bookingFields: Prisma.JsonValue;
        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: 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;
        bookingLimits: Prisma.JsonValue;
        durationLimits: Prisma.JsonValue;
        isInstantEvent: boolean;
        instantMeetingExpiryTimeOffsetInSeconds: number;
        instantMeetingScheduleId: number | null;
        instantMeetingParameters: string[];
        assignAllTeamMembers: boolean;
        assignRRMembersUsingSegment: boolean;
        rrSegmentQueryValue: Prisma.JsonValue;
        useEventTypeDestinationCalendarEmail: boolean;
        isRRWeightsEnabled: boolean;
        maxLeadThreshold: number | null;
        allowReschedulingPastBookings: boolean;
        eventTypeColor: Prisma.JsonValue;
        rescheduleWithSameRoundRobinHost: boolean;
        secondaryEmailId: number | null;
        hosts: ({
            user: {
                id: number;
                name: string | null;
                username: string | null;
                avatarUrl: string | null;
            };
        } & {
            eventTypeId: number;
            userId: number;
            scheduleId: number | null;
            createdAt: Date;
            isFixed: boolean;
            priority: number | null;
            weight: number | null;
            weightAdjustment: number | null;
        })[];
        users: {
            id: number;
            name: string | null;
            username: string | null;
            avatarUrl: string | null;
        }[];
        hashedLink: {
            link: string;
            id: number;
            eventTypeId: number;
        }[];
        aiPhoneCallConfig: {
            id: number;
            enabled: boolean;
            eventTypeId: number;
            templateType: string;
            schedulerName: string | null;
            generalPrompt: string | null;
            yourPhoneNumber: string;
            numberToCall: string;
            guestName: string | null;
            guestEmail: string | null;
            guestCompany: string | null;
            beginMessage: string | null;
            llmId: string | null;
        } | null;
    }[]>;
    static findAllByUpIdWithMinimalData({ upId, userId }: {
        upId: string;
        userId: number;
    }, { orderBy, where, cursor: cursorId, limit, }?: {
        orderBy?: Prisma.EventTypeOrderByWithRelationInput[];
        where?: Prisma.EventTypeWhereInput;
        cursor?: number | null;
        limit?: number | null;
    }): Promise<{
        length: number;
        position: number;
        title: string;
        metadata: Prisma.JsonValue;
        hidden: boolean;
        id: number;
        price: number;
        currency: string;
        description: string | null;
        userId: number | null;
        timeZone: string | null;
        slug: string;
        locations: Prisma.JsonValue;
        offsetStart: number;
        profileId: number | null;
        teamId: number | null;
        useEventLevelSelectedCalendars: boolean;
        eventName: string | null;
        parentId: number | null;
        bookingFields: Prisma.JsonValue;
        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: 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;
        bookingLimits: Prisma.JsonValue;
        durationLimits: Prisma.JsonValue;
        isInstantEvent: boolean;
        instantMeetingExpiryTimeOffsetInSeconds: number;
        instantMeetingScheduleId: number | null;
        instantMeetingParameters: string[];
        assignAllTeamMembers: boolean;
        assignRRMembersUsingSegment: boolean;
        rrSegmentQueryValue: Prisma.JsonValue;
        useEventTypeDestinationCalendarEmail: boolean;
        isRRWeightsEnabled: boolean;
        maxLeadThreshold: number | null;
        allowReschedulingPastBookings: boolean;
        eventTypeColor: Prisma.JsonValue;
        rescheduleWithSameRoundRobinHost: boolean;
        secondaryEmailId: number | null;
        hashedLink: {
            link: string;
            id: number;
            eventTypeId: number;
        }[];
        aiPhoneCallConfig: {
            id: number;
            enabled: boolean;
            eventTypeId: number;
            templateType: string;
            schedulerName: string | null;
            generalPrompt: string | null;
            yourPhoneNumber: string;
            numberToCall: string;
            guestName: string | null;
            guestEmail: string | null;
            guestCompany: string | null;
            beginMessage: string | null;
            llmId: string | null;
        } | null;
    }[]>;
    static findTeamEventTypes({ teamId, parentId, userId, limit, cursor, orderBy, where, }: {
        teamId: number;
        parentId?: number | null;
        userId: number;
        limit?: number | null;
        cursor?: number | null;
        orderBy?: Prisma.EventTypeOrderByWithRelationInput[];
        where?: Prisma.EventTypeWhereInput;
    }): Promise<{
        length: number;
        position: number;
        title: string;
        metadata: Prisma.JsonValue;
        hidden: boolean;
        id: number;
        price: number;
        currency: string;
        description: string | null;
        children: ({
            users: {
                id: number;
                name: string | null;
                username: string | null;
                avatarUrl: string | null;
            }[];
        } & {
            length: number;
            position: number;
            title: string;
            metadata: Prisma.JsonValue;
            hidden: boolean;
            id: number;
            price: number;
            currency: string;
            description: string | null;
            userId: number | null;
            timeZone: string | null;
            slug: string;
            locations: Prisma.JsonValue;
            offsetStart: number;
            profileId: number | null;
            teamId: number | null;
            useEventLevelSelectedCalendars: boolean;
            eventName: string | null;
            parentId: number | null;
            bookingFields: Prisma.JsonValue;
            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: 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: Prisma.JsonValue;
            durationLimits: Prisma.JsonValue;
            isInstantEvent: boolean;
            instantMeetingExpiryTimeOffsetInSeconds: number;
            instantMeetingScheduleId: number | null;
            instantMeetingParameters: string[];
            assignAllTeamMembers: boolean;
            assignRRMembersUsingSegment: boolean;
            rrSegmentQueryValue: Prisma.JsonValue;
            useEventTypeDestinationCalendarEmail: boolean;
            isRRWeightsEnabled: boolean;
            maxLeadThreshold: number | null;
            allowReschedulingPastBookings: boolean;
            eventTypeColor: Prisma.JsonValue;
            rescheduleWithSameRoundRobinHost: boolean;
            secondaryEmailId: number | null;
        })[];
        userId: number | null;
        timeZone: string | null;
        slug: string;
        locations: Prisma.JsonValue;
        offsetStart: number;
        profileId: number | null;
        teamId: number | null;
        useEventLevelSelectedCalendars: boolean;
        eventName: string | null;
        parentId: number | null;
        bookingFields: Prisma.JsonValue;
        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: 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;
        bookingLimits: Prisma.JsonValue;
        durationLimits: Prisma.JsonValue;
        isInstantEvent: boolean;
        instantMeetingExpiryTimeOffsetInSeconds: number;
        instantMeetingScheduleId: number | null;
        instantMeetingParameters: string[];
        assignAllTeamMembers: boolean;
        assignRRMembersUsingSegment: boolean;
        rrSegmentQueryValue: Prisma.JsonValue;
        useEventTypeDestinationCalendarEmail: boolean;
        isRRWeightsEnabled: boolean;
        maxLeadThreshold: number | null;
        allowReschedulingPastBookings: boolean;
        eventTypeColor: Prisma.JsonValue;
        rescheduleWithSameRoundRobinHost: boolean;
        secondaryEmailId: number | null;
        hosts: ({
            user: {
                id: number;
                name: string | null;
                username: string | null;
                avatarUrl: string | null;
            };
        } & {
            eventTypeId: number;
            userId: number;
            scheduleId: number | null;
            createdAt: Date;
            isFixed: boolean;
            priority: number | null;
            weight: number | null;
            weightAdjustment: number | null;
        })[];
        users: {
            id: number;
            name: string | null;
            username: string | null;
            avatarUrl: string | null;
        }[];
        hashedLink: {
            link: string;
            id: number;
            eventTypeId: number;
        }[];
        aiPhoneCallConfig: {
            id: number;
            enabled: boolean;
            eventTypeId: number;
            templateType: string;
            schedulerName: string | null;
            generalPrompt: string | null;
            yourPhoneNumber: string;
            numberToCall: string;
            guestName: string | null;
            guestEmail: string | null;
            guestCompany: string | null;
            beginMessage: string | null;
            llmId: string | null;
        } | null;
    }[]>;
    static findAllByUserId({ userId }: {
        userId: number;
    }): Promise<{
        length: number;
        position: number;
        title: string;
        metadata: Prisma.JsonValue;
        hidden: boolean;
        id: number;
        price: number;
        currency: string;
        description: string | null;
        userId: number | null;
        timeZone: string | null;
        slug: string;
        locations: Prisma.JsonValue;
        offsetStart: number;
        profileId: number | null;
        teamId: number | null;
        useEventLevelSelectedCalendars: boolean;
        eventName: string | null;
        parentId: number | null;
        bookingFields: Prisma.JsonValue;
        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: 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: Prisma.JsonValue;
        durationLimits: Prisma.JsonValue;
        isInstantEvent: boolean;
        instantMeetingExpiryTimeOffsetInSeconds: number;
        instantMeetingScheduleId: number | null;
        instantMeetingParameters: string[];
        assignAllTeamMembers: boolean;
        assignRRMembersUsingSegment: boolean;
        rrSegmentQueryValue: Prisma.JsonValue;
        useEventTypeDestinationCalendarEmail: boolean;
        isRRWeightsEnabled: boolean;
        maxLeadThreshold: number | null;
        allowReschedulingPastBookings: boolean;
        eventTypeColor: Prisma.JsonValue;
        rescheduleWithSameRoundRobinHost: boolean;
        secondaryEmailId: number | null;
    }[]>;
    static findTitleById({ id }: {
        id: number;
    }): Promise<{
        title: string;
    } | null>;
    static findById({ id, userId }: {
        id: number;
        userId: number;
    }): Promise<{
        schedule: {
            id: number;
            name: string;
        } | null;
        length: number;
        title: string;
        metadata: Prisma.JsonValue;
        hidden: boolean;
        id: number;
        parent: {
            id: number;
            teamId: number | null;
        } | null;
        price: number;
        currency: string;
        description: string | null;
        children: {
            hidden: boolean;
            slug: string;
            owner: {
                id: number;
                name: string | null;
                email: string;
                username: string | null;
                avatarUrl: string | null;
            } | null;
        }[];
        userId: number | null;
        timeZone: string | null;
        slug: string;
        locations: Prisma.JsonValue;
        offsetStart: number;
        teamId: number | null;
        useEventLevelSelectedCalendars: boolean;
        eventName: string | null;
        bookingFields: Prisma.JsonValue;
        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: 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;
        slotInterval: number | null;
        successRedirectUrl: string | null;
        forwardParamsSuccessRedirect: boolean | null;
        bookingLimits: Prisma.JsonValue;
        durationLimits: Prisma.JsonValue;
        isInstantEvent: boolean;
        instantMeetingExpiryTimeOffsetInSeconds: number;
        instantMeetingParameters: string[];
        assignAllTeamMembers: boolean;
        assignRRMembersUsingSegment: boolean;
        rrSegmentQueryValue: Prisma.JsonValue;
        useEventTypeDestinationCalendarEmail: boolean;
        isRRWeightsEnabled: boolean;
        maxLeadThreshold: number | null;
        allowReschedulingPastBookings: boolean;
        eventTypeColor: Prisma.JsonValue;
        rescheduleWithSameRoundRobinHost: boolean;
        secondaryEmailId: number | null;
        hosts: {
            userId: number;
            scheduleId: number | null;
            isFixed: boolean;
            priority: number | null;
            weight: number | null;
        }[];
        users: {
            id: number;
            name: string | null;
            email: string;
            username: string | null;
            locale: string | null;
            avatarUrl: string | null;
            defaultScheduleId: number | null;
        }[];
        owner: {
            id: number;
        } | null;
        team: {
            id: number;
            name: string;
            parent: {
                slug: string | null;
                organizationSettings: {
                    lockEventTypeCreationForUsers: boolean;
                } | null;
            } | null;
            slug: string | null;
            parentId: number | null;
            members: {
                user: {
                    id: number;
                    name: string | null;
                    email: string;
                    username: string | null;
                    locale: string | null;
                    avatarUrl: string | null;
                    defaultScheduleId: number | null;
                    eventTypes: {
                        slug: string;
                    }[];
                };
                role: import('../../../prisma-client').$Enums.MembershipRole;
                accepted: boolean;
            }[];
        } | null;
        hashedLink: {
            link: string;
            id: number;
            eventTypeId: number;
        }[];
        webhooks: {
            id: string;
            eventTypeId: number | null;
            secret: string | null;
            subscriberUrl: string;
            payloadTemplate: string | null;
            active: boolean;
            eventTriggers: import('../../../prisma-client').$Enums.WebhookTriggerEvents[];
        }[];
        destinationCalendar: {
            id: number;
            credentialId: number | null;
            eventTypeId: number | null;
            userId: number | null;
            integration: string;
            externalId: string;
            primaryEmail: string | null;
            domainWideDelegationCredentialId: string | null;
        } | null;
        customInputs: {
            options: Prisma.JsonValue;
            label: string;
            type: import('../../../prisma-client').$Enums.EventTypeCustomInputType;
            id: number;
            required: boolean;
            placeholder: string;
            eventTypeId: number;
        }[];
        workflows: ({
            workflow: {
                time: number | null;
                id: number;
                name: string;
                userId: number | null;
                teamId: number | null;
                team: {
                    id: number;
                    name: string;
                    slug: string | null;
                    members: {
                        id: number;
                        userId: number;
                        teamId: number;
                        role: import('../../../prisma-client').$Enums.MembershipRole;
                        disableImpersonation: boolean;
                        accepted: boolean;
                    }[];
                } | null;
                steps: {
                    template: import('../../../prisma-client').$Enums.WorkflowTemplates;
                    id: number;
                    action: import('../../../prisma-client').$Enums.WorkflowActions;
                    sender: string | null;
                    stepNumber: number;
                    workflowId: number;
                    sendTo: string | null;
                    reminderBody: string | null;
                    emailSubject: string | null;
                    numberRequired: boolean | null;
                    numberVerificationPending: boolean;
                    includeCalendarEvent: boolean;
                }[];
                timeUnit: import('../../../prisma-client').$Enums.TimeUnit | null;
                trigger: import('../../../prisma-client').$Enums.WorkflowTriggerEvents;
                activeOn: {
                    eventType: {
                        title: string;
                        id: number;
                        parentId: number | null;
                        _count: {
                            children: number;
                        };
                    };
                }[];
            };
        } & {
            id: number;
            eventTypeId: number;
            workflowId: number;
        })[];
        instantMeetingSchedule: {
            id: number;
            name: string;
        } | null;
        aiPhoneCallConfig: {
            id: number;
            enabled: boolean;
            eventTypeId: number;
            templateType: string;
            schedulerName: string | null;
            generalPrompt: string | null;
            yourPhoneNumber: string;
            numberToCall: string;
            guestName: string | null;
            guestEmail: string | null;
            guestCompany: string | null;
            beginMessage: string | null;
            llmId: string | null;
        } | null;
        fieldTranslations: {
            field: import('../../../prisma-client').$Enums.EventTypeAutoTranslatedField;
            targetLocale: string;
            translatedText: string;
        }[];
    } | null>;
    static findByIdMinimal({ id }: {
        id: number;
    }): Promise<{
        length: number;
        position: number;
        title: string;
        metadata: Prisma.JsonValue;
        hidden: boolean;
        id: number;
        price: number;
        currency: string;
        description: string | null;
        userId: number | null;
        timeZone: string | null;
        slug: string;
        locations: Prisma.JsonValue;
        offsetStart: number;
        profileId: number | null;
        teamId: number | null;
        useEventLevelSelectedCalendars: boolean;
        eventName: string | null;
        parentId: number | null;
        bookingFields: Prisma.JsonValue;
        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: 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: Prisma.JsonValue;
        durationLimits: Prisma.JsonValue;
        isInstantEvent: boolean;
        instantMeetingExpiryTimeOffsetInSeconds: number;
        instantMeetingScheduleId: number | null;
        instantMeetingParameters: string[];
        assignAllTeamMembers: boolean;
        assignRRMembersUsingSegment: boolean;
        rrSegmentQueryValue: Prisma.JsonValue;
        useEventTypeDestinationCalendarEmail: boolean;
        isRRWeightsEnabled: boolean;
        maxLeadThreshold: number | null;
        allowReschedulingPastBookings: boolean;
        eventTypeColor: Prisma.JsonValue;
        rescheduleWithSameRoundRobinHost: boolean;
        secondaryEmailId: number | null;
    } | null>;
    static findByIdIncludeHostsAndTeam({ id }: {
        id: number;
    }): Promise<{
        hosts: ({
            user: {
                id: number;
                name: string | null;
                email: string;
                selectedCalendars: {
                    error: string | null;
                    id: string;
                    credentialId: number | null;
                    eventTypeId: number | null;
                    userId: number;
                    integration: string;
                    externalId: string;
                    domainWideDelegationCredentialId: string | null;
                    googleChannelId: string | null;
                    googleChannelKind: string | null;
                    googleChannelResourceId: string | null;
                    googleChannelResourceUri: string | null;
                    googleChannelExpiration: string | null;
                }[];
                credentials: {
                    key: Prisma.JsonValue;
                    invalid: boolean | null;
                    type: string;
                    id: number;
                    userId: number | null;
                    user: {
                        email: string;
                    } | null;
                    teamId: number | null;
                    appId: string | null;
                }[];
            };
            createdAt: Date;
            priority: number | null;
            weight: number | null;
        } & {
            user: Omit<{
                selectedCalendars: {
                    error: string | null;
                    id: string;
                    credentialId: number | null;
                    eventTypeId: number | null;
                    userId: number;
                    integration: string;
                    externalId: string;
                    domainWideDelegationCredentialId: string | null;
                    googleChannelId: string | null;
                    googleChannelKind: string | null;
                    googleChannelResourceId: string | null;
                    googleChannelResourceUri: string | null;
                    googleChannelExpiration: string | null;
                }[];
            }, "selectedCalendars"> & {
                allSelectedCalendars: {
                    error: string | null;
                    id: string;
                    credentialId: number | null;
                    eventTypeId: number | null;
                    userId: number;
                    integration: string;
                    externalId: string;
                    domainWideDelegationCredentialId: string | null;
                    googleChannelId: string | null;
                    googleChannelKind: string | null;
                    googleChannelResourceId: string | null;
                    googleChannelResourceUri: string | null;
                    googleChannelExpiration: string | null;
                }[];
                userLevelSelectedCalendars: {
                    error: string | null;
                    id: string;
                    credentialId: number | null;
                    eventTypeId: number | null;
                    userId: number;
                    integration: string;
                    externalId: string;
                    domainWideDelegationCredentialId: string | null;
                    googleChannelId: string | null;
                    googleChannelKind: string | null;
                    googleChannelResourceId: string | null;
                    googleChannelResourceUri: string | null;
                    googleChannelExpiration: string | null;
                }[];
            };
        })[];
        team: {
            parentId: number | null;
        } | null;
        length: number;
        position: number;
        title: string;
        metadata: Prisma.JsonValue;
        hidden: boolean;
        id: number;
        price: number;
        currency: string;
        description: string | null;
        userId: number | null;
        timeZone: string | null;
        slug: string;
        locations: Prisma.JsonValue;
        offsetStart: number;
        profileId: number | null;
        teamId: number | null;
        useEventLevelSelectedCalendars: boolean;
        eventName: string | null;
        parentId: number | null;
        bookingFields: Prisma.JsonValue;
        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: 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: Prisma.JsonValue;
        durationLimits: Prisma.JsonValue;
        isInstantEvent: boolean;
        instantMeetingExpiryTimeOffsetInSeconds: number;
        instantMeetingScheduleId: number | null;
        instantMeetingParameters: string[];
        assignAllTeamMembers: boolean;
        assignRRMembersUsingSegment: boolean;
        rrSegmentQueryValue: Prisma.JsonValue;
        useEventTypeDestinationCalendarEmail: boolean;
        isRRWeightsEnabled: boolean;
        maxLeadThreshold: number | null;
        allowReschedulingPastBookings: boolean;
        eventTypeColor: Prisma.JsonValue;
        rescheduleWithSameRoundRobinHost: boolean;
        secondaryEmailId: number | null;
    } | null>;
    static findAllByTeamIdIncludeManagedEventTypes({ teamId }: {
        teamId?: number;
    }): Promise<{
        length: number;
        position: number;
        title: string;
        metadata: Prisma.JsonValue;
        hidden: boolean;
        id: number;
        price: number;
        currency: string;
        description: string | null;
        userId: number | null;
        timeZone: string | null;
        slug: string;
        locations: Prisma.JsonValue;
        offsetStart: number;
        profileId: number | null;
        teamId: number | null;
        useEventLevelSelectedCalendars: boolean;
        eventName: string | null;
        parentId: number | null;
        bookingFields: Prisma.JsonValue;
        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: 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: Prisma.JsonValue;
        durationLimits: Prisma.JsonValue;
        isInstantEvent: boolean;
        instantMeetingExpiryTimeOffsetInSeconds: number;
        instantMeetingScheduleId: number | null;
        instantMeetingParameters: string[];
        assignAllTeamMembers: boolean;
        assignRRMembersUsingSegment: boolean;
        rrSegmentQueryValue: Prisma.JsonValue;
        useEventTypeDestinationCalendarEmail: boolean;
        isRRWeightsEnabled: boolean;
        maxLeadThreshold: number | null;
        allowReschedulingPastBookings: boolean;
        eventTypeColor: Prisma.JsonValue;
        rescheduleWithSameRoundRobinHost: boolean;
        secondaryEmailId: number | null;
    }[]>;
    static findForSlots({ id }: {
        id: number;
    }): Promise<{
        hosts: ({
            schedule: {
                id: number;
                timeZone: string | null;
                availability: {
                    date: Date | null;
                    days: number[];
                    startTime: Date;
                    endTime: Date;
                }[];
            } | null;
            user: {
                schedules: {
                    id: number;
                    timeZone: string | null;
                    availability: {
                        date: Date | null;
                        days: number[];
                        startTime: Date;
                        endTime: Date;
                    }[];
                }[];
                id: number;
                email: string;
                timeZone: string;
                availability: {
                    date: Date | null;
                    days: number[];
                    id: number;
                    eventTypeId: number | null;
                    userId: number | null;
                    scheduleId: number | null;
                    startTime: Date;
                    endTime: Date;
                }[];
                selectedCalendars: {
                    error: string | null;
                    id: string;
                    credentialId: number | null;
                    eventTypeId: number | null;
                    userId: number;
                    integration: string;
                    externalId: string;
                    domainWideDelegationCredentialId: string | null;
                    googleChannelId: string | null;
                    googleChannelKind: string | null;
                    googleChannelResourceId: string | null;
                    googleChannelResourceUri: string | null;
                    googleChannelExpiration: string | null;
                }[];
                username: string | null;
                startTime: number;
                endTime: number;
                bufferTime: number;
                defaultScheduleId: number | null;
                timeFormat: number | null;
                travelSchedules: {
                    id: number;
                    userId: number;
                    timeZone: string;
                    startDate: Date;
                    endDate: Date | null;
                    prevTimeZone: string | null;
                }[];
                credentials: {
                    key: Prisma.JsonValue;
                    invalid: boolean | null;
                    type: string;
                    id: number;
                    userId: number | null;
                    user: {
                        email: string;
                    } | null;
                    teamId: number | null;
                    appId: string | null;
                }[];
            };
            createdAt: Date;
            isFixed: boolean;
            priority: number | null;
            weight: number | null;
        } & {
            user: Omit<{
                selectedCalendars: {
                    error: string | null;
                    id: string;
                    credentialId: number | null;
                    eventTypeId: number | null;
                    userId: number;
                    integration: string;
                    externalId: string;
                    domainWideDelegationCredentialId: string | null;
                    googleChannelId: string | null;
                    googleChannelKind: string | null;
                    googleChannelResourceId: string | null;
                    googleChannelResourceUri: string | null;
                    googleChannelExpiration: string | null;
                }[];
            }, "selectedCalendars"> & {
                allSelectedCalendars: {
                    error: string | null;
                    id: string;
                    credentialId: number | null;
                    eventTypeId: number | null;
                    userId: number;
                    integration: string;
                    externalId: string;
                    domainWideDelegationCredentialId: string | null;
                    googleChannelId: string | null;
                    googleChannelKind: string | null;
                    googleChannelResourceId: string | null;
                    googleChannelResourceUri: string | null;
                    googleChannelExpiration: string | null;
                }[];
                userLevelSelectedCalendars: {
                    error: string | null;
                    id: string;
                    credentialId: number | null;
                    eventTypeId: number | null;
                    userId: number;
                    integration: string;
                    externalId: string;
                    domainWideDelegationCredentialId: string | null;
                    googleChannelId: string | null;
                    googleChannelKind: string | null;
                    googleChannelResourceId: string | null;
                    googleChannelResourceUri: string | null;
                    googleChannelExpiration: string | null;
                }[];
            };
        })[];
        users: (Omit<{
            schedules: {
                id: number;
                timeZone: string | null;
                availability: {
                    date: Date | null;
                    days: number[];
                    startTime: Date;
                    endTime: Date;
                }[];
            }[];
            id: number;
            email: string;
            timeZone: string;
            availability: {
                date: Date | null;
                days: number[];
                id: number;
                eventTypeId: number | null;
                userId: number | null;
                scheduleId: number | null;
                startTime: Date;
                endTime: Date;
            }[];
            selectedCalendars: {
                error: string | null;
                id: string;
                credentialId: number | null;
                eventTypeId: number | null;
                userId: number;
                integration: string;
                externalId: string;
                domainWideDelegationCredentialId: string | null;
                googleChannelId: string | null;
                googleChannelKind: string | null;
                googleChannelResourceId: string | null;
                googleChannelResourceUri: string | null;
                googleChannelExpiration: string | null;
            }[];
            username: string | null;
            startTime: number;
            endTime: number;
            bufferTime: number;
            defaultScheduleId: number | null;
            timeFormat: number | null;
            travelSchedules: {
                id: number;
                userId: number;
                timeZone: string;
                startDate: Date;
                endDate: Date | null;
                prevTimeZone: string | null;
            }[];
            credentials: {
                key: Prisma.JsonValue;
                invalid: boolean | null;
                type: string;
                id: number;
                userId: number | null;
                user: {
                    email: string;
                } | null;
                teamId: number | null;
                appId: string | null;
            }[];
        }, "selectedCalendars"> & {
            allSelectedCalendars: {
                error: string | null;
                id: string;
                credentialId: number | null;
                eventTypeId: number | null;
                userId: number;
                integration: string;
                externalId: string;
                domainWideDelegationCredentialId: string | null;
                googleChannelId: string | null;
                googleChannelKind: string | null;
                googleChannelResourceId: string | null;
                googleChannelResourceUri: string | null;
                googleChannelExpiration: string | null;
            }[];
            userLevelSelectedCalendars: {
                error: string | null;
                id: string;
                credentialId: number | null;
                eventTypeId: number | null;
                userId: number;
                integration: string;
                externalId: string;
                domainWideDelegationCredentialId: string | null;
                googleChannelId: string | null;
                googleChannelKind: string | null;
                googleChannelResourceId: string | null;
                googleChannelResourceUri: string | null;
                googleChannelExpiration: string | null;
            }[];
        })[];
        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;
                    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;
                    useEventLevelSelectedCalendars?: 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;
                    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;
                    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;
                    fieldTranslations?: true | undefined;
                    selectedCalendars?: true | undefined;
                    secondaryEmail?: true | undefined;
                    _count?: true | undefined;
                } | undefined;
            } | undefined;
            requiresConfirmationThreshold?: {
                time: number;
                unit: "milliseconds" | "seconds" | "minutes" | "hours" | "days" | "months" | "years" | "dates";
            } | undefined;
            bookerLayouts?: {
                enabledLayouts: import('../../../prisma/zod-utils').BookerLayouts[];
                defaultLayout: import('../../../prisma/zod-utils').BookerLayouts;
            } | null | undefined;
            apps?: unknown;
        } | null;
        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;
        schedule: {
            id: number;
            timeZone: string | null;
            availability: {
                date: Date | null;
                days: number[];
                startTime: Date;
                endTime: Date;
            }[];
        } | null;
        length: number;
        id: number;
        parent: {
            team: {
                id: number;
                bookingLimits: Prisma.JsonValue;
                includeManagedEventsInLimits: boolean;
            } | null;
        } | null;
        timeZone: string | null;
        slug: string;
        offsetStart: number;
        useEventLevelSelectedCalendars: boolean;
        periodType: import('../../../prisma-client').$Enums.PeriodType;
        periodStartDate: Date | null;
        periodEndDate: Date | null;
        periodDays: number | null;
        periodCountCalendarDays: boolean | null;
        minimumBookingNotice: number;
        beforeEventBuffer: number;
        afterEventBuffer: number;
        seatsPerTimeSlot: number | null;
        onlyShowFirstAvailableSlot: boolean;
        schedulingType: import('../../../prisma-client').$Enums.SchedulingType | null;
        slotInterval: number | null;
        bookingLimits: Prisma.JsonValue;
        durationLimits: Prisma.JsonValue;
        assignAllTeamMembers: boolean;
        assignRRMembersUsingSegment: boolean;
        isRRWeightsEnabled: boolean;
        maxLeadThreshold: number | null;
        allowReschedulingPastBookings: boolean;
        rescheduleWithSameRoundRobinHost: boolean;
        team: {
            id: number;
            parentId: number | null;
            bookingLimits: Prisma.JsonValue;
            includeManagedEventsInLimits: boolean;
        } | null;
        availability: {
            date: Date | null;
            days: number[];
            startTime: Date;
            endTime: Date;
        }[];
    } | null>;
    static getSelectedCalendarsFromUser<TSelectedCalendar extends {
        eventTypeId: number | null;
    }>({ user, eventTypeId, }: {
        user: UserWithSelectedCalendars<TSelectedCalendar>;
        eventTypeId: number;
    }): TSelectedCalendar[];
}
export {};
//# sourceMappingURL=eventType.d.ts.map