import { LocationObject } from '../../../app-store/locations';
import { PrismaClient } from '../../../prisma';
interface getEventTypeByIdProps {
    eventTypeId: number;
    userId: number;
    prisma: PrismaClient;
    isTrpcCall?: boolean;
    isUserOrganizationAdmin: boolean;
    currentOrganizationId: number | null;
    userLocale?: string | null;
}
export type EventType = Awaited<ReturnType<typeof getEventTypeById>>;
export declare const getEventTypeById: ({ currentOrganizationId, eventTypeId, userId, prisma, isTrpcCall, isUserOrganizationAdmin, userLocale, }: getEventTypeByIdProps) => Promise<{
    eventType: {
        schedule: number | null;
        restrictionScheduleId: number | null;
        restrictionScheduleName: string | null;
        useBookerTimezone: boolean;
        instantMeetingSchedule: number | null;
        scheduleName: string | null;
        recurringEvent: import('@calcom/types/Calendar').RecurringEvent | null;
        bookingLimits: Partial<Record<"PER_DAY" | "PER_MONTH" | "PER_WEEK" | "PER_YEAR", number | undefined>> | null;
        durationLimits: Partial<Record<"PER_DAY" | "PER_MONTH" | "PER_WEEK" | "PER_YEAR", number | undefined>> | null;
        eventTypeColor: {
            lightEventTypeColor: string;
            darkEventTypeColor: string;
        } | null;
        locations: LocationObject[];
        metadata: {
            apps?: {
                dailyvideo?: {} | undefined;
                googlevideo?: {} | undefined;
                jitsivideo?: {} | undefined;
                tandemvideo?: {} | undefined;
                zoomvideo?: {} | undefined;
                databuddy?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                    DATABUDDY_SCRIPT_URL?: string | undefined;
                    DATABUDDY_API_URL?: string | undefined;
                    CLIENT_ID?: string | undefined;
                } | undefined;
                fathom?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                    trackingId?: string | undefined;
                } | undefined;
                ga4?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                    trackingId?: string | undefined;
                } | undefined;
                gtm?: {
                    trackingId: string;
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                "booking-pages-tag"?: {
                    trackingId: string;
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                insihts?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                    SITE_ID?: string | undefined;
                    SCRIPT_URL?: string | undefined;
                } | undefined;
                jelly?: {} | undefined;
                matomo?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                    SITE_ID?: string | undefined;
                    MATOMO_URL?: string | undefined;
                } | undefined;
                metapixel?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                    trackingId?: string | undefined;
                } | undefined;
                "event-type-app-card"?: {
                    isSunrise: boolean;
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                nextcloudtalk?: {} | undefined;
                office365video?: {
                    client_id: string;
                    client_secret: string;
                } | undefined;
                plausible?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                    trackingId?: string | undefined;
                    PLAUSIBLE_URL?: string | undefined;
                } | undefined;
                posthog?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                    TRACKING_ID?: string | undefined;
                    API_HOST?: string | undefined;
                } | undefined;
                shimmervideo?: {} | 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;
                webex?: {} | undefined;
                feishucalendar?: {} | undefined;
                giphy?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                    thankYouPage?: string | undefined;
                } | undefined;
                googlecalendar?: {} | undefined;
                hubspot?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                    roundRobinLeadSkip?: boolean | undefined;
                    ifFreeEmailDomainSkipOwnerCheck?: boolean | undefined;
                    skipContactCreation?: boolean | undefined;
                    onBookingWriteToEventObject?: boolean | undefined;
                    ignoreGuests?: boolean | undefined;
                    setOrganizerAsOwner?: boolean | undefined;
                    overwriteContactOwner?: boolean | undefined;
                    onBookingWriteToEventObjectFields?: Record<string, {
                        value: string | boolean;
                        fieldType: import('../../../app-store/_lib/crm-enums').CrmFieldType;
                        whenToWrite: import('../../../app-store/_lib/crm-enums').WhenToWrite;
                    }> | undefined;
                } | undefined;
                larkcalendar?: {} | undefined;
                office365calendar?: {
                    client_id: string;
                    client_secret: string;
                } | undefined;
                stripe?: {
                    price: number;
                    currency: string;
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    paymentOption?: string | undefined;
                    appCategories?: string[] | undefined;
                    refundPolicy?: import('../../../lib/payment/types').RefundPolicy | undefined;
                    refundDaysCount?: number | undefined;
                    refundCountCalendarDays?: boolean | undefined;
                    autoChargeNoShowFeeIfCancelled?: boolean | undefined;
                    autoChargeNoShowFeeTimeValue?: number | undefined;
                    autoChargeNoShowFeeTimeUnit?: "days" | "hours" | "minutes" | undefined;
                } | undefined;
                vital?: {} | undefined;
                alby?: {
                    price: number;
                    currency: string;
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    paymentOption?: string | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                basecamp3?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                btcpayserver?: {
                    price: number;
                    currency: string;
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    paymentOption?: string | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                closecom?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                dub?: {} | undefined;
                hitpay?: {
                    price: number;
                    currency: string;
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    paymentOption?: string | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                intercom?: {} | undefined;
                make?: {} | undefined;
                "mock-payment-app"?: {
                    price: number;
                    currency: string;
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    paymentOption?: string | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                paypal?: {
                    price: number;
                    currency: string;
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    paymentOption?: string | undefined;
                    appCategories?: string[] | undefined;
                } | undefined;
                "pipedrive-crm"?: {
                    enabled?: boolean | undefined;
                    credentialId?: number | undefined;
                    appCategories?: 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/enums').SalesforceRecordEnum | undefined;
                    rrSkipFieldRules?: {
                        action: "ignore" | "must_include";
                        value: string;
                        field: string;
                    }[] | undefined;
                    ifFreeEmailDomainSkipOwnerCheck?: boolean | undefined;
                    roundRobinSkipFallbackToLeadOwner?: boolean | undefined;
                    skipContactCreation?: boolean | undefined;
                    createEventOn?: import('../../../app-store/salesforce/lib/enums').SalesforceRecordEnum | undefined;
                    createNewContactUnderAccount?: boolean | undefined;
                    createLeadIfAccountNull?: boolean | undefined;
                    onBookingWriteToEventObject?: boolean | undefined;
                    onBookingWriteToEventObjectMap?: Record<string, any> | undefined;
                    createEventOnLeadCheckForContact?: boolean | undefined;
                    onBookingChangeRecordOwner?: boolean | undefined;
                    onBookingChangeRecordOwnerName?: string | undefined;
                    sendNoShowAttendeeData?: boolean | undefined;
                    sendNoShowAttendeeDataField?: string | undefined;
                    onBookingWriteToRecord?: boolean | undefined;
                    onBookingWriteToRecordFields?: Record<string, {
                        value: string | boolean;
                        fieldType: import('../../../app-store/salesforce/lib/enums').SalesforceFieldType;
                        whenToWrite: import('../../../app-store/salesforce/lib/enums').WhenToWriteToRecord;
                    }> | undefined;
                    ignoreGuests?: boolean | undefined;
                    onCancelWriteToEventRecord?: boolean | undefined;
                    onCancelWriteToEventRecordFields?: Record<string, {
                        value: string | boolean;
                        fieldType: import('../../../app-store/salesforce/lib/enums').SalesforceFieldType;
                        whenToWrite: import('../../../app-store/salesforce/lib/enums').WhenToWriteToRecord;
                    }> | undefined;
                } | undefined;
                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;
            } | undefined;
            smartContractAddress?: string | undefined;
            blockchainId?: number | undefined;
            multipleDuration?: number[] | undefined;
            hideDurationSelectorInBookingPage?: boolean | undefined;
            giphyThankYouPage?: string | undefined;
            additionalNotesRequired?: boolean | undefined;
            disableSuccessPage?: boolean | undefined;
            disableStandardEmails?: {
                confirmation?: {
                    attendee?: boolean | undefined;
                    host?: boolean | undefined;
                } | undefined;
                all?: {
                    attendee?: boolean | undefined;
                    host?: boolean | undefined;
                } | undefined;
            } | undefined;
            managedEventConfig?: {
                unlockedFields?: {
                    bookings?: true | undefined;
                    schedule?: true | undefined;
                    profile?: true | undefined;
                    price?: true | undefined;
                    webhooks?: true | undefined;
                    owner?: true | undefined;
                    title?: true | undefined;
                    description?: true | undefined;
                    hidden?: true | undefined;
                    team?: true | undefined;
                    availability?: true | undefined;
                    length?: true | undefined;
                    workflows?: true | undefined;
                    users?: true | undefined;
                    hosts?: true | undefined;
                    currency?: true | undefined;
                    slug?: true | undefined;
                    children?: true | undefined;
                    userId?: true | undefined;
                    metadata?: true | undefined;
                    scheduleId?: true | undefined;
                    createdAt?: true | undefined;
                    updatedAt?: true | undefined;
                    interfaceLanguage?: 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;
                    lockedTimeZone?: true | undefined;
                    requiresConfirmation?: true | undefined;
                    requiresConfirmationWillBlockSlot?: true | undefined;
                    requiresConfirmationForFreeEmail?: true | undefined;
                    requiresBookerEmailVerification?: true | undefined;
                    canSendCalVideoTranscriptionEmails?: true | undefined;
                    autoTranslateDescriptionEnabled?: true | undefined;
                    autoTranslateInstantMeetingTitleEnabled?: true | undefined;
                    recurringEvent?: true | undefined;
                    disableGuests?: true | undefined;
                    hideCalendarNotes?: true | undefined;
                    hideCalendarEventDetails?: true | undefined;
                    minimumBookingNotice?: true | undefined;
                    beforeEventBuffer?: true | undefined;
                    afterEventBuffer?: true | undefined;
                    seatsPerTimeSlot?: true | undefined;
                    onlyShowFirstAvailableSlot?: true | undefined;
                    showOptimizedSlots?: true | undefined;
                    disableCancelling?: true | undefined;
                    disableRescheduling?: true | undefined;
                    minimumRescheduleNotice?: true | undefined;
                    seatsShowAttendees?: true | undefined;
                    seatsShowAvailabilityCount?: true | undefined;
                    schedulingType?: true | undefined;
                    allowReschedulingCancelledBookings?: true | undefined;
                    slotInterval?: true | undefined;
                    successRedirectUrl?: true | undefined;
                    forwardParamsSuccessRedirect?: true | undefined;
                    redirectUrlOnNoRoutingFormResponse?: 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;
                    includeNoShowInRRCalculation?: true | undefined;
                    allowReschedulingPastBookings?: true | undefined;
                    hideOrganizerEmail?: true | undefined;
                    maxActiveBookingsPerBooker?: true | undefined;
                    maxActiveBookingPerBookerOfferReschedule?: true | undefined;
                    customReplyToEmail?: true | undefined;
                    eventTypeColor?: true | undefined;
                    rescheduleWithSameRoundRobinHost?: true | undefined;
                    secondaryEmailId?: true | undefined;
                    useBookerTimezone?: true | undefined;
                    restrictionScheduleId?: true | undefined;
                    bookingRequiresAuthentication?: true | undefined;
                    rrHostSubsetEnabled?: true | undefined;
                    enablePerHostLocations?: true | undefined;
                    customInputs?: true | undefined;
                    hashedLink?: true | undefined;
                    destinationCalendar?: true | undefined;
                    parent?: true | undefined;
                    instantMeetingSchedule?: true | undefined;
                    aiPhoneCallConfig?: true | undefined;
                    fieldTranslations?: true | undefined;
                    selectedCalendars?: true | undefined;
                    calVideoSettings?: true | undefined;
                    secondaryEmail?: true | undefined;
                    restrictionSchedule?: true | undefined;
                    hostGroups?: true | undefined;
                    _count?: true | undefined;
                } | undefined;
            } | undefined;
            requiresConfirmationThreshold?: {
                time: number;
                unit: import('dayjs').UnitTypeLongPlural;
            } | undefined;
            config?: {
                useHostSchedulesForTeamEvent?: boolean | undefined;
            } | undefined;
            bookerLayouts?: {
                enabledLayouts: import('../../../prisma/zod-utils').BookerLayouts[];
                defaultLayout: import('../../../prisma/zod-utils').BookerLayouts;
            } | null | undefined;
        };
        customInputs: {
            required: boolean;
            label: string;
            placeholder: string;
            type: "TEXT" | "TEXTLONG" | "NUMBER" | "BOOL" | "RADIO" | "PHONE";
            id: number;
            eventTypeId: number;
            options?: {
                label: string;
                type: string;
            }[] | null | undefined;
            hasToBeCreated?: boolean | undefined;
        }[];
        users: {
            username: string | null;
            email: string;
            name: string | null;
            locale: string | null;
            id: number;
            timeZone: string;
            avatarUrl: string | null;
            defaultScheduleId: number | null;
            isPlatformManaged: boolean;
        }[];
        bookerUrl: string;
        children: {
            owner: {
                avatar: string;
                email: string;
                name: string;
                username: string;
                membership: import('../../../kysely/types.ts').MembershipRole;
                id: number;
                avatarUrl: string | null;
                nonProfileUsername: string | null;
                profile: import('@calcom/types/UserProfile').UserProfile;
            };
            created: boolean;
            hidden: boolean;
            slug: string;
        }[];
        price: number;
        webhooks: {
            active: boolean;
            secret: string | null;
            id: string;
            eventTypeId: number | null;
            subscriberUrl: string;
            payloadTemplate: string | null;
            eventTriggers: import('../../../kysely/types.ts').WebhookTriggerEvents[];
        }[];
        owner: {
            id: number;
            timeZone: string;
        } | null;
        title: string;
        description: string | null;
        hidden: boolean;
        team: {
            members: {
                role: import('../../../kysely/types.ts').MembershipRole;
                user: {
                    username: string | null;
                    email: string;
                    name: string | null;
                    locale: string | null;
                    id: number;
                    timeZone: string;
                    avatarUrl: string | null;
                    defaultScheduleId: number | null;
                    isPlatformManaged: boolean;
                    eventTypes: {
                        slug: string;
                    }[];
                };
                accepted: boolean;
            }[];
            name: string;
            slug: string | null;
            id: number;
            parentId: number | null;
            bookingLimits: import('@prisma/client/runtime/client').JsonValue;
            rrTimestampBasis: import('../../../kysely/types.ts').RRTimestampBasis;
            includeManagedEventsInLimits: boolean;
            parent: {
                slug: string | null;
                organizationSettings: {
                    lockEventTypeCreationForUsers: boolean;
                } | null;
            } | null;
        } | null;
        length: number;
        workflows: ({
            workflow: {
                name: string;
                team: {
                    members: {
                        role: import('../../../kysely/types.ts').MembershipRole;
                        userId: number;
                        id: number;
                        createdAt: Date | null;
                        updatedAt: Date | null;
                        teamId: number;
                        disableImpersonation: boolean;
                        accepted: boolean;
                        customRoleId: string | null;
                    }[];
                    name: string;
                    slug: string | null;
                    id: number;
                } | null;
                trigger: import('../../../kysely/types.ts').WorkflowTriggerEvents;
                time: number | null;
                userId: number | null;
                id: number;
                teamId: number | null;
                timeUnit: import('../../../kysely/types.ts').TimeUnit | null;
                steps: {
                    action: import('../../../kysely/types.ts').WorkflowActions;
                    template: import('../../../kysely/types.ts').WorkflowTemplates;
                    id: number;
                    stepNumber: number;
                    workflowId: number;
                    sendTo: string | null;
                    reminderBody: string | null;
                    emailSubject: string | null;
                    numberRequired: boolean | null;
                    sender: string | null;
                    numberVerificationPending: boolean;
                    includeCalendarEvent: boolean;
                    verifiedAt: Date | null;
                    agentId: string | null;
                    inboundAgentId: string | null;
                }[];
                activeOn: {
                    eventType: {
                        title: string;
                        id: number;
                        parentId: number | null;
                    };
                }[];
            };
        } & {
            id: number;
            eventTypeId: number;
            workflowId: number;
        })[];
        hosts: {
            location: {
                address: string | null;
                type: string;
                link: string | null;
                id: string;
                credentialId: number | null;
                phoneNumber: string | null;
            } | null;
            user: {
                timeZone: string;
            };
            weight: number | null;
            userId: number;
            priority: number | null;
            isFixed: boolean;
            scheduleId: number | null;
            groupId: string | null;
        }[];
        currency: string;
        slug: string;
        userId: number | null;
        id: number;
        interfaceLanguage: string | null;
        offsetStart: number;
        teamId: number | null;
        useEventLevelSelectedCalendars: boolean;
        eventName: string | null;
        bookingFields: import('@prisma/client/runtime/client').JsonValue;
        timeZone: string | null;
        periodType: import('../../../kysely/types.ts').PeriodType;
        periodStartDate: Date | null;
        periodEndDate: Date | null;
        periodDays: number | null;
        periodCountCalendarDays: boolean | null;
        lockTimeZoneToggleOnBookingPage: boolean;
        lockedTimeZone: string | null;
        requiresConfirmation: boolean;
        requiresConfirmationWillBlockSlot: boolean;
        requiresConfirmationForFreeEmail: boolean;
        requiresBookerEmailVerification: boolean;
        canSendCalVideoTranscriptionEmails: boolean;
        autoTranslateDescriptionEnabled: boolean;
        autoTranslateInstantMeetingTitleEnabled: boolean;
        disableGuests: boolean;
        hideCalendarNotes: boolean;
        hideCalendarEventDetails: boolean;
        minimumBookingNotice: number;
        beforeEventBuffer: number;
        afterEventBuffer: number;
        seatsPerTimeSlot: number | null;
        onlyShowFirstAvailableSlot: boolean;
        showOptimizedSlots: boolean | null;
        disableCancelling: boolean | null;
        disableRescheduling: boolean | null;
        minimumRescheduleNotice: number | null;
        seatsShowAttendees: boolean | null;
        seatsShowAvailabilityCount: boolean | null;
        schedulingType: import('../../../kysely/types.ts').SchedulingType | null;
        allowReschedulingCancelledBookings: boolean | null;
        slotInterval: number | null;
        successRedirectUrl: string | null;
        forwardParamsSuccessRedirect: boolean | null;
        redirectUrlOnNoRoutingFormResponse: string | null;
        isInstantEvent: boolean;
        instantMeetingExpiryTimeOffsetInSeconds: number;
        instantMeetingParameters: string[];
        assignAllTeamMembers: boolean;
        assignRRMembersUsingSegment: boolean;
        rrSegmentQueryValue: import('@prisma/client/runtime/client').JsonValue;
        useEventTypeDestinationCalendarEmail: boolean;
        isRRWeightsEnabled: boolean;
        maxLeadThreshold: number | null;
        includeNoShowInRRCalculation: boolean;
        allowReschedulingPastBookings: boolean;
        hideOrganizerEmail: boolean;
        maxActiveBookingsPerBooker: number | null;
        maxActiveBookingPerBookerOfferReschedule: boolean;
        customReplyToEmail: string | null;
        rescheduleWithSameRoundRobinHost: boolean;
        secondaryEmailId: number | null;
        enablePerHostLocations: boolean;
        hashedLink: {
            link: string;
            id: number;
            expiresAt: Date | null;
            maxUsageCount: number;
            usageCount: number;
        }[];
        destinationCalendar: {
            userId: number | null;
            id: number;
            eventTypeId: number | null;
            createdAt: Date | null;
            updatedAt: Date | null;
            credentialId: number | null;
            delegationCredentialId: string | null;
            integration: string;
            externalId: string;
            primaryEmail: string | null;
            domainWideDelegationCredentialId: string | null;
            customCalendarReminder: number | null;
        } | null;
        parent: {
            team: {
                id: number;
                bookingLimits: import('@prisma/client/runtime/client').JsonValue;
                includeManagedEventsInLimits: boolean;
            } | null;
            id: number;
            teamId: number | null;
        } | null;
        aiPhoneCallConfig: {
            enabled: boolean;
            id: number;
            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('../../../kysely/types.ts').EventTypeAutoTranslatedField;
            targetLocale: string;
            translatedText: string;
        }[];
        calVideoSettings: {
            disableRecordingForOrganizer: boolean;
            disableRecordingForGuests: boolean;
            enableAutomaticTranscription: boolean;
            enableAutomaticRecordingForOrganizer: boolean;
            redirectUrlOnExit: string | null;
            disableTranscriptionForGuests: boolean;
            disableTranscriptionForOrganizer: boolean;
            requireEmailForGuests: boolean;
        } | null;
        restrictionSchedule: {
            name: string;
            id: number;
        } | null;
        hostGroups: {
            name: string;
            id: string;
        }[];
    } & {
        users: ({
            username: string | null;
            email: string;
            name: string | null;
            locale: string | null;
            id: number;
            timeZone: string;
            avatarUrl: string | null;
            defaultScheduleId: number | null;
            isPlatformManaged: boolean;
        } & {
            avatar: string;
        })[];
        periodStartDate: string | null;
        periodEndDate: string | null;
        bookingFields: {
            name: string;
            type: "number" | "boolean" | "select" | "text" | "checkbox" | "email" | "address" | "url" | "name" | "radio" | "phone" | "textarea" | "multiemail" | "multiselect" | "radioInput";
            price?: number | undefined;
            required?: boolean | undefined;
            hidden?: boolean | undefined;
            label?: string | undefined;
            placeholder?: string | undefined;
            options?: {
                label: string;
                value: string;
                price?: number | undefined;
            }[] | undefined;
            variant?: string | undefined;
            minLength?: number | undefined;
            maxLength?: number | undefined;
            labelAsSafeHtml?: string | undefined;
            defaultLabel?: string | undefined;
            defaultPlaceholder?: string | undefined;
            getOptionsAt?: string | undefined;
            optionsInputs?: Record<string, {
                type: "text" | "address" | "phone";
                required?: boolean | undefined;
                placeholder?: string | undefined;
            }> | undefined;
            excludeEmails?: string | undefined;
            requireEmails?: string | undefined;
            variantsConfig?: {
                variants: Record<string, {
                    fields: {
                        name: string;
                        type: "number" | "boolean" | "select" | "text" | "checkbox" | "email" | "address" | "url" | "name" | "radio" | "phone" | "textarea" | "multiemail" | "multiselect" | "radioInput";
                        price?: number | undefined;
                        required?: boolean | undefined;
                        label?: string | undefined;
                        placeholder?: string | undefined;
                        minLength?: number | undefined;
                        maxLength?: number | undefined;
                        labelAsSafeHtml?: string | undefined;
                        excludeEmails?: string | undefined;
                        requireEmails?: string | undefined;
                    }[];
                }>;
            } | undefined;
            views?: {
                label: string;
                id: string;
                description?: string | undefined;
            }[] | undefined;
            hideWhenJustOneOption?: boolean | undefined;
            editable?: "user" | "system" | "system-but-optional" | "system-but-hidden" | "user-readonly" | undefined;
            sources?: {
                label: string;
                type: string;
                id: string;
                editUrl?: string | undefined;
                fieldRequired?: boolean | undefined;
            }[] | undefined;
            disableOnPrefill?: boolean | undefined;
        }[] & import('zod').BRAND<"HAS_SYSTEM_FIELDS">;
    };
    locationOptions: {
        label: string;
        options: {
            label: string;
            value: string;
            disabled?: boolean;
            icon?: string;
            slug?: string;
            credentialId?: number;
            supportsCustomLabel?: boolean;
        }[];
    }[];
    destinationCalendar: {
        userId: number | null;
        id: number;
        eventTypeId: number | null;
        createdAt: Date | null;
        updatedAt: Date | null;
        credentialId: number | null;
        delegationCredentialId: string | null;
        integration: string;
        externalId: string;
        primaryEmail: string | null;
        domainWideDelegationCredentialId: string | null;
        customCalendarReminder: number | null;
    } | null;
    team: {
        members: {
            role: import('../../../kysely/types.ts').MembershipRole;
            user: {
                username: string | null;
                email: string;
                name: string | null;
                locale: string | null;
                id: number;
                timeZone: string;
                avatarUrl: string | null;
                defaultScheduleId: number | null;
                isPlatformManaged: boolean;
                eventTypes: {
                    slug: string;
                }[];
            };
            accepted: boolean;
        }[];
        name: string;
        slug: string | null;
        id: number;
        parentId: number | null;
        bookingLimits: import('@prisma/client/runtime/client').JsonValue;
        rrTimestampBasis: import('../../../kysely/types.ts').RRTimestampBasis;
        includeManagedEventsInLimits: boolean;
        parent: {
            slug: string | null;
            organizationSettings: {
                lockEventTypeCreationForUsers: boolean;
            } | null;
        } | null;
    } | null;
    teamMembers: {
        profileId: number | null;
        eventTypes: string[];
        membership: import('../../../kysely/types.ts').MembershipRole;
        username: string | null;
        email: string;
        name: string | null;
        locale: string | null;
        id: number;
        timeZone: string;
        avatarUrl: string | null;
        defaultScheduleId: number | null;
        isPlatformManaged: boolean;
        nonProfileUsername: string | null;
        profile: import('@calcom/types/UserProfile').UserProfile;
        avatar: string;
    }[];
    currentUserMembership: {
        role: import('../../../kysely/types.ts').MembershipRole;
        user: {
            username: string | null;
            email: string;
            name: string | null;
            locale: string | null;
            id: number;
            timeZone: string;
            avatarUrl: string | null;
            defaultScheduleId: number | null;
            isPlatformManaged: boolean;
            eventTypes: {
                slug: string;
            }[];
        };
        accepted: boolean;
    } | null;
    isUserOrganizationAdmin: boolean;
}>;
export declare function getRawEventType({ userId, eventTypeId, isUserOrganizationAdmin, currentOrganizationId, prisma, }: Omit<getEventTypeByIdProps, "isTrpcCall">): Promise<{
    schedule: {
        name: string;
        id: number;
    } | null;
    price: number;
    webhooks: {
        active: boolean;
        secret: string | null;
        id: string;
        eventTypeId: number | null;
        subscriberUrl: string;
        payloadTemplate: string | null;
        eventTriggers: import('../../../kysely/types.ts').WebhookTriggerEvents[];
    }[];
    owner: {
        id: number;
        timeZone: string;
    } | null;
    title: string;
    description: string | null;
    hidden: boolean;
    team: {
        members: {
            role: import('../../../kysely/types.ts').MembershipRole;
            user: {
                username: string | null;
                email: string;
                name: string | null;
                locale: string | null;
                id: number;
                timeZone: string;
                avatarUrl: string | null;
                defaultScheduleId: number | null;
                isPlatformManaged: boolean;
                eventTypes: {
                    slug: string;
                }[];
            };
            accepted: boolean;
        }[];
        name: string;
        slug: string | null;
        id: number;
        parentId: number | null;
        bookingLimits: import('@prisma/client/runtime/client').JsonValue;
        rrTimestampBasis: import('../../../kysely/types.ts').RRTimestampBasis;
        includeManagedEventsInLimits: boolean;
        parent: {
            slug: string | null;
            organizationSettings: {
                lockEventTypeCreationForUsers: boolean;
            } | null;
        } | null;
    } | null;
    length: number;
    workflows: ({
        workflow: {
            name: string;
            team: {
                members: {
                    role: import('../../../kysely/types.ts').MembershipRole;
                    userId: number;
                    id: number;
                    createdAt: Date | null;
                    updatedAt: Date | null;
                    teamId: number;
                    disableImpersonation: boolean;
                    accepted: boolean;
                    customRoleId: string | null;
                }[];
                name: string;
                slug: string | null;
                id: number;
            } | null;
            trigger: import('../../../kysely/types.ts').WorkflowTriggerEvents;
            time: number | null;
            userId: number | null;
            id: number;
            teamId: number | null;
            timeUnit: import('../../../kysely/types.ts').TimeUnit | null;
            steps: {
                action: import('../../../kysely/types.ts').WorkflowActions;
                template: import('../../../kysely/types.ts').WorkflowTemplates;
                id: number;
                stepNumber: number;
                workflowId: number;
                sendTo: string | null;
                reminderBody: string | null;
                emailSubject: string | null;
                numberRequired: boolean | null;
                sender: string | null;
                numberVerificationPending: boolean;
                includeCalendarEvent: boolean;
                verifiedAt: Date | null;
                agentId: string | null;
                inboundAgentId: string | null;
            }[];
            activeOn: {
                eventType: {
                    title: string;
                    id: number;
                    parentId: number | null;
                };
            }[];
        };
    } & {
        id: number;
        eventTypeId: number;
        workflowId: number;
    })[];
    users: {
        username: string | null;
        email: string;
        name: string | null;
        locale: string | null;
        id: number;
        timeZone: string;
        avatarUrl: string | null;
        defaultScheduleId: number | null;
        isPlatformManaged: boolean;
    }[];
    hosts: {
        location: {
            address: string | null;
            type: string;
            link: string | null;
            id: string;
            credentialId: number | null;
            phoneNumber: string | null;
        } | null;
        user: {
            timeZone: string;
        };
        weight: number | null;
        userId: number;
        priority: number | null;
        isFixed: boolean;
        scheduleId: number | null;
        groupId: string | null;
    }[];
    currency: string;
    slug: string;
    children: {
        owner: {
            username: string | null;
            email: string;
            name: string | null;
            id: number;
            avatarUrl: string | null;
        } | null;
        hidden: boolean;
        slug: string;
    }[];
    userId: number | null;
    metadata: import('@prisma/client/runtime/client').JsonValue;
    id: number;
    interfaceLanguage: string | null;
    locations: import('@prisma/client/runtime/client').JsonValue;
    offsetStart: number;
    teamId: number | null;
    useEventLevelSelectedCalendars: boolean;
    eventName: string | null;
    bookingFields: import('@prisma/client/runtime/client').JsonValue;
    timeZone: string | null;
    periodType: import('../../../kysely/types.ts').PeriodType;
    periodStartDate: Date | null;
    periodEndDate: Date | null;
    periodDays: number | null;
    periodCountCalendarDays: boolean | null;
    lockTimeZoneToggleOnBookingPage: boolean;
    lockedTimeZone: string | null;
    requiresConfirmation: boolean;
    requiresConfirmationWillBlockSlot: boolean;
    requiresConfirmationForFreeEmail: boolean;
    requiresBookerEmailVerification: boolean;
    canSendCalVideoTranscriptionEmails: boolean;
    autoTranslateDescriptionEnabled: boolean;
    autoTranslateInstantMeetingTitleEnabled: boolean;
    recurringEvent: import('@prisma/client/runtime/client').JsonValue;
    disableGuests: boolean;
    hideCalendarNotes: boolean;
    hideCalendarEventDetails: boolean;
    minimumBookingNotice: number;
    beforeEventBuffer: number;
    afterEventBuffer: number;
    seatsPerTimeSlot: number | null;
    onlyShowFirstAvailableSlot: boolean;
    showOptimizedSlots: boolean | null;
    disableCancelling: boolean | null;
    disableRescheduling: boolean | null;
    minimumRescheduleNotice: number | null;
    seatsShowAttendees: boolean | null;
    seatsShowAvailabilityCount: boolean | null;
    schedulingType: import('../../../kysely/types.ts').SchedulingType | null;
    allowReschedulingCancelledBookings: boolean | null;
    slotInterval: number | null;
    successRedirectUrl: string | null;
    forwardParamsSuccessRedirect: boolean | null;
    redirectUrlOnNoRoutingFormResponse: string | null;
    bookingLimits: import('@prisma/client/runtime/client').JsonValue;
    durationLimits: import('@prisma/client/runtime/client').JsonValue;
    isInstantEvent: boolean;
    instantMeetingExpiryTimeOffsetInSeconds: number;
    instantMeetingParameters: string[];
    assignAllTeamMembers: boolean;
    assignRRMembersUsingSegment: boolean;
    rrSegmentQueryValue: import('@prisma/client/runtime/client').JsonValue;
    useEventTypeDestinationCalendarEmail: boolean;
    isRRWeightsEnabled: boolean;
    maxLeadThreshold: number | null;
    includeNoShowInRRCalculation: boolean;
    allowReschedulingPastBookings: boolean;
    hideOrganizerEmail: boolean;
    maxActiveBookingsPerBooker: number | null;
    maxActiveBookingPerBookerOfferReschedule: boolean;
    customReplyToEmail: string | null;
    eventTypeColor: import('@prisma/client/runtime/client').JsonValue;
    rescheduleWithSameRoundRobinHost: boolean;
    secondaryEmailId: number | null;
    useBookerTimezone: boolean;
    restrictionScheduleId: number | null;
    enablePerHostLocations: boolean;
    customInputs: {
        required: boolean;
        label: string;
        placeholder: string;
        type: import('../../../kysely/types.ts').EventTypeCustomInputType;
        options: import('@prisma/client/runtime/client').JsonValue | null;
        id: number;
        eventTypeId: number;
    }[];
    hashedLink: {
        link: string;
        id: number;
        expiresAt: Date | null;
        maxUsageCount: number;
        usageCount: number;
    }[];
    destinationCalendar: {
        userId: number | null;
        id: number;
        eventTypeId: number | null;
        createdAt: Date | null;
        updatedAt: Date | null;
        credentialId: number | null;
        delegationCredentialId: string | null;
        integration: string;
        externalId: string;
        primaryEmail: string | null;
        domainWideDelegationCredentialId: string | null;
        customCalendarReminder: number | null;
    } | null;
    parent: {
        team: {
            id: number;
            bookingLimits: import('@prisma/client/runtime/client').JsonValue;
            includeManagedEventsInLimits: boolean;
        } | null;
        id: number;
        teamId: number | null;
    } | null;
    instantMeetingSchedule: {
        name: string;
        id: number;
    } | null;
    aiPhoneCallConfig: {
        enabled: boolean;
        id: number;
        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('../../../kysely/types.ts').EventTypeAutoTranslatedField;
        targetLocale: string;
        translatedText: string;
    }[];
    calVideoSettings: {
        disableRecordingForOrganizer: boolean;
        disableRecordingForGuests: boolean;
        enableAutomaticTranscription: boolean;
        enableAutomaticRecordingForOrganizer: boolean;
        redirectUrlOnExit: string | null;
        disableTranscriptionForGuests: boolean;
        disableTranscriptionForOrganizer: boolean;
        requireEmailForGuests: boolean;
    } | null;
    restrictionSchedule: {
        name: string;
        id: number;
    } | null;
    hostGroups: {
        name: string;
        id: string;
    }[];
} | null>;
export default getEventTypeById;
//# sourceMappingURL=getEventTypeById.d.ts.map