import type { LocationObject } from '../../../../app-store/locations';
import type { DefaultEvent } from '../../../../lib/defaultEvents';
export declare const getEventTypesFromDB: (eventTypeId: number) => Promise<{
    hosts: {
        user: Omit<{
            schedules: {
                id: number;
                availability: {
                    days: number[];
                    date: Date | null;
                    startTime: Date;
                    endTime: Date;
                }[];
                timeZone: string | null;
            }[];
            name: string | null;
            id: number;
            metadata: import('../../../../prisma-client').Prisma.JsonValue;
            username: string | null;
            email: string;
            availability: {
                id: number;
                days: number[];
                date: Date | null;
                userId: number | null;
                eventTypeId: number | null;
                scheduleId: number | null;
                startTime: Date;
                endTime: Date;
            }[];
            theme: string | null;
            locale: string | null;
            timeZone: string;
            destinationCalendar: {
                id: number;
                userId: number | null;
                credentialId: number | null;
                eventTypeId: number | null;
                integration: string;
                externalId: string;
                primaryEmail: string | null;
                delegationCredentialId: string | null;
                domainWideDelegationCredentialId: string | null;
            } | null;
            selectedCalendars: {
                error: string | null;
                id: string;
                userId: number;
                credentialId: number | null;
                eventTypeId: number | null;
                integration: string;
                externalId: string;
                delegationCredentialId: string | null;
                domainWideDelegationCredentialId: string | null;
                googleChannelId: string | null;
                googleChannelKind: string | null;
                googleChannelResourceId: string | null;
                googleChannelResourceUri: string | null;
                googleChannelExpiration: string | null;
            }[];
            startTime: number;
            endTime: number;
            bufferTime: number;
            hideBranding: boolean;
            defaultScheduleId: number | null;
            timeFormat: number | null;
            brandColor: string | null;
            darkBrandColor: string | null;
            allowDynamicBooking: boolean | null;
            travelSchedules: {
                id: number;
                userId: number;
                timeZone: string;
                startDate: Date;
                endDate: Date | null;
                prevTimeZone: string | null;
            }[];
            credentials: {
                key: import('../../../../prisma-client').Prisma.JsonValue;
                user: {
                    email: string;
                } | null;
                id: number;
                type: string;
                userId: number | null;
                teamId: number | null;
                appId: string | null;
                invalid: boolean | null;
            }[];
        }, "selectedCalendars"> & {
            allSelectedCalendars: {
                error: string | null;
                id: string;
                userId: number;
                credentialId: number | null;
                eventTypeId: number | null;
                integration: string;
                externalId: string;
                delegationCredentialId: string | null;
                domainWideDelegationCredentialId: string | null;
                googleChannelId: string | null;
                googleChannelKind: string | null;
                googleChannelResourceId: string | null;
                googleChannelResourceUri: string | null;
                googleChannelExpiration: string | null;
            }[];
            userLevelSelectedCalendars: {
                error: string | null;
                id: string;
                userId: number;
                credentialId: number | null;
                eventTypeId: number | null;
                integration: string;
                externalId: string;
                delegationCredentialId: string | null;
                domainWideDelegationCredentialId: string | null;
                googleChannelId: string | null;
                googleChannelKind: string | null;
                googleChannelResourceId: string | null;
                googleChannelResourceUri: string | null;
                googleChannelExpiration: string | null;
            }[];
        };
        schedule: {
            id: number;
            availability: {
                days: number[];
                date: Date | null;
                startTime: Date;
                endTime: Date;
            }[];
            timeZone: string | null;
        } | null;
        weight: number | null;
        createdAt: Date;
        isFixed: boolean;
        priority: number | null;
    }[];
    users: (Omit<{
        schedules: {
            id: number;
            availability: {
                days: number[];
                date: Date | null;
                startTime: Date;
                endTime: Date;
            }[];
            timeZone: string | null;
        }[];
        name: string | null;
        id: number;
        metadata: import('../../../../prisma-client').Prisma.JsonValue;
        username: string | null;
        email: string;
        availability: {
            id: number;
            days: number[];
            date: Date | null;
            userId: number | null;
            eventTypeId: number | null;
            scheduleId: number | null;
            startTime: Date;
            endTime: Date;
        }[];
        theme: string | null;
        locale: string | null;
        timeZone: string;
        destinationCalendar: {
            id: number;
            userId: number | null;
            credentialId: number | null;
            eventTypeId: number | null;
            integration: string;
            externalId: string;
            primaryEmail: string | null;
            delegationCredentialId: string | null;
            domainWideDelegationCredentialId: string | null;
        } | null;
        selectedCalendars: {
            error: string | null;
            id: string;
            userId: number;
            credentialId: number | null;
            eventTypeId: number | null;
            integration: string;
            externalId: string;
            delegationCredentialId: string | null;
            domainWideDelegationCredentialId: string | null;
            googleChannelId: string | null;
            googleChannelKind: string | null;
            googleChannelResourceId: string | null;
            googleChannelResourceUri: string | null;
            googleChannelExpiration: string | null;
        }[];
        startTime: number;
        endTime: number;
        bufferTime: number;
        hideBranding: boolean;
        defaultScheduleId: number | null;
        timeFormat: number | null;
        brandColor: string | null;
        darkBrandColor: string | null;
        allowDynamicBooking: boolean | null;
        travelSchedules: {
            id: number;
            userId: number;
            timeZone: string;
            startDate: Date;
            endDate: Date | null;
            prevTimeZone: string | null;
        }[];
        credentials: {
            key: import('../../../../prisma-client').Prisma.JsonValue;
            user: {
                email: string;
            } | null;
            id: number;
            type: string;
            userId: number | null;
            teamId: number | null;
            appId: string | null;
            invalid: boolean | null;
        }[];
    }, "selectedCalendars"> & {
        allSelectedCalendars: {
            error: string | null;
            id: string;
            userId: number;
            credentialId: number | null;
            eventTypeId: number | null;
            integration: string;
            externalId: string;
            delegationCredentialId: string | null;
            domainWideDelegationCredentialId: string | null;
            googleChannelId: string | null;
            googleChannelKind: string | null;
            googleChannelResourceId: string | null;
            googleChannelResourceUri: string | null;
            googleChannelExpiration: string | null;
        }[];
        userLevelSelectedCalendars: {
            error: string | null;
            id: string;
            userId: number;
            credentialId: number | null;
            eventTypeId: number | null;
            integration: string;
            externalId: string;
            delegationCredentialId: string | null;
            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;
                users?: true | undefined;
                children?: true | undefined;
                length?: true | undefined;
                title?: true | undefined;
                metadata?: true | undefined;
                description?: true | undefined;
                price?: true | undefined;
                webhooks?: true | undefined;
                owner?: true | undefined;
                hidden?: true | undefined;
                team?: true | undefined;
                availability?: true | undefined;
                workflows?: true | undefined;
                hosts?: true | undefined;
                currency?: true | undefined;
                slug?: true | undefined;
                userId?: true | undefined;
                position?: true | undefined;
                locations?: true | undefined;
                offsetStart?: true | undefined;
                profileId?: true | undefined;
                teamId?: true | undefined;
                useEventLevelSelectedCalendars?: true | undefined;
                eventName?: true | undefined;
                parentId?: true | undefined;
                bookingFields?: true | undefined;
                timeZone?: true | undefined;
                periodType?: true | undefined;
                periodStartDate?: true | undefined;
                periodEndDate?: true | undefined;
                periodDays?: true | undefined;
                periodCountCalendarDays?: true | undefined;
                lockTimeZoneToggleOnBookingPage?: true | undefined;
                requiresConfirmation?: true | undefined;
                requiresConfirmationWillBlockSlot?: true | undefined;
                requiresConfirmationForFreeEmail?: true | undefined;
                requiresBookerEmailVerification?: true | undefined;
                canSendCalVideoTranscriptionEmails?: true | undefined;
                autoTranslateDescriptionEnabled?: true | undefined;
                recurringEvent?: true | undefined;
                disableGuests?: true | undefined;
                hideCalendarNotes?: true | undefined;
                hideCalendarEventDetails?: true | undefined;
                minimumBookingNotice?: true | undefined;
                beforeEventBuffer?: true | undefined;
                afterEventBuffer?: true | undefined;
                seatsPerTimeSlot?: true | undefined;
                onlyShowFirstAvailableSlot?: true | undefined;
                seatsShowAttendees?: true | undefined;
                seatsShowAvailabilityCount?: true | undefined;
                schedulingType?: true | undefined;
                scheduleId?: true | undefined;
                slotInterval?: true | undefined;
                successRedirectUrl?: true | undefined;
                forwardParamsSuccessRedirect?: true | undefined;
                bookingLimits?: true | undefined;
                durationLimits?: true | undefined;
                isInstantEvent?: true | undefined;
                instantMeetingExpiryTimeOffsetInSeconds?: true | undefined;
                instantMeetingScheduleId?: true | undefined;
                instantMeetingParameters?: true | undefined;
                assignAllTeamMembers?: true | undefined;
                assignRRMembersUsingSegment?: true | undefined;
                rrSegmentQueryValue?: true | undefined;
                useEventTypeDestinationCalendarEmail?: true | undefined;
                isRRWeightsEnabled?: true | undefined;
                maxLeadThreshold?: true | undefined;
                allowReschedulingPastBookings?: true | undefined;
                eventTypeColor?: true | undefined;
                rescheduleWithSameRoundRobinHost?: true | undefined;
                secondaryEmailId?: true | undefined;
                hashedLink?: true | undefined;
                destinationCalendar?: true | undefined;
                customInputs?: true | undefined;
                parent?: true | undefined;
                instantMeetingSchedule?: true | undefined;
                aiPhoneCallConfig?: true | undefined;
                fieldTranslations?: true | undefined;
                selectedCalendars?: true | undefined;
                secondaryEmail?: true | undefined;
                _count?: true | undefined;
            } | undefined;
        } | undefined;
        requiresConfirmationThreshold?: {
            time: number;
            unit: "months" | "years" | "days" | "hours" | "minutes" | "milliseconds" | "seconds" | "dates";
        } | undefined;
        bookerLayouts?: {
            enabledLayouts: import('../../../../prisma/zod-utils').BookerLayouts[];
            defaultLayout: import('../../../../prisma/zod-utils').BookerLayouts;
        } | null | undefined;
        apps?: unknown;
    } | null;
    recurringEvent: import("@calcom/types/Calendar").RecurringEvent | null;
    customInputs: {
        id: number;
        type: "TEXT" | "PHONE" | "TEXTLONG" | "NUMBER" | "BOOL" | "RADIO";
        label: string;
        required: boolean;
        placeholder: string;
        eventTypeId: number;
        options?: {
            type: string;
            label: string;
        }[] | null | undefined;
        hasToBeCreated?: boolean | undefined;
    }[];
    locations: LocationObject[];
    bookingFields: {
        name: string;
        type: "number" | "boolean" | "url" | "phone" | "name" | "address" | "select" | "textarea" | "text" | "checkbox" | "radio" | "email" | "multiselect" | "multiemail" | "radioInput";
        label?: string | undefined;
        required?: boolean | undefined;
        placeholder?: string | undefined;
        options?: {
            label: string;
            value: string;
        }[] | undefined;
        maxLength?: number | undefined;
        defaultLabel?: string | undefined;
        defaultPlaceholder?: string | undefined;
        labelAsSafeHtml?: string | undefined;
        getOptionsAt?: string | undefined;
        optionsInputs?: Record<string, {
            type: "phone" | "address" | "text";
            required?: boolean | undefined;
            placeholder?: string | undefined;
        }> | undefined;
        minLength?: number | undefined;
        excludeEmails?: string | undefined;
        requireEmails?: string | undefined;
        variant?: string | undefined;
        variantsConfig?: {
            variants: Record<string, {
                fields: {
                    name: string;
                    type: "number" | "boolean" | "url" | "phone" | "name" | "address" | "select" | "textarea" | "text" | "checkbox" | "radio" | "email" | "multiselect" | "multiemail" | "radioInput";
                    label?: string | undefined;
                    required?: boolean | undefined;
                    placeholder?: string | undefined;
                    maxLength?: number | undefined;
                    labelAsSafeHtml?: string | undefined;
                    minLength?: number | undefined;
                    excludeEmails?: string | undefined;
                    requireEmails?: string | undefined;
                }[];
            }>;
        } | undefined;
        views?: {
            id: string;
            label: string;
            description?: string | undefined;
        }[] | undefined;
        hideWhenJustOneOption?: boolean | undefined;
        hidden?: boolean | undefined;
        editable?: "user" | "system" | "system-but-optional" | "system-but-hidden" | "user-readonly" | undefined;
        sources?: {
            id: string;
            type: string;
            label: string;
            editUrl?: string | undefined;
            fieldRequired?: boolean | undefined;
        }[] | undefined;
        disableOnPrefill?: boolean | undefined;
    }[] & import("zod").BRAND<"HAS_SYSTEM_FIELDS">;
    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;
    isDynamic: boolean;
    schedule: {
        id: number;
        availability: {
            id: number;
            days: number[];
            date: Date | null;
            userId: number | null;
            eventTypeId: number | null;
            scheduleId: number | null;
            startTime: Date;
            endTime: Date;
        }[];
        timeZone: string | null;
    } | null;
    id: number;
    length: number;
    title: string;
    description: string | null;
    price: number;
    owner: {
        hideBranding: boolean;
    } | null;
    team: {
        name: string;
        id: number;
        parentId: number | null;
        bookingLimits: import('../../../../prisma-client').Prisma.JsonValue;
        rrResetInterval: import('../../../../prisma-client').$Enums.RRResetInterval | null;
        includeManagedEventsInLimits: boolean;
    } | null;
    availability: {
        days: number[];
        date: Date | null;
        startTime: Date;
        endTime: Date;
    }[];
    workflows: {
        workflow: {
            name: string;
            id: number;
            time: number | null;
            trigger: import('../../../../prisma-client').$Enums.WorkflowTriggerEvents;
            userId: number | null;
            teamId: number | null;
            steps: {
                id: number;
                template: import('../../../../prisma-client').$Enums.WorkflowTemplates;
                action: import('../../../../prisma-client').$Enums.WorkflowActions;
                sendTo: string | null;
                reminderBody: string | null;
                emailSubject: string | null;
                numberRequired: boolean | null;
                sender: string | null;
                numberVerificationPending: boolean;
                includeCalendarEvent: boolean;
            }[];
            timeUnit: import('../../../../prisma-client').$Enums.TimeUnit | null;
        };
    }[];
    currency: string;
    slug: string;
    userId: number | null;
    teamId: number | null;
    useEventLevelSelectedCalendars: boolean;
    eventName: string | null;
    parentId: number | null;
    timeZone: string | null;
    periodType: import('../../../../prisma-client').$Enums.PeriodType;
    periodStartDate: Date | null;
    periodEndDate: Date | null;
    periodDays: number | null;
    periodCountCalendarDays: boolean | null;
    lockTimeZoneToggleOnBookingPage: boolean;
    requiresConfirmation: boolean;
    requiresConfirmationForFreeEmail: boolean;
    requiresBookerEmailVerification: boolean;
    disableGuests: boolean;
    hideCalendarNotes: boolean;
    hideCalendarEventDetails: boolean;
    minimumBookingNotice: number;
    beforeEventBuffer: number;
    afterEventBuffer: number;
    seatsPerTimeSlot: number | null;
    seatsShowAttendees: boolean | null;
    seatsShowAvailabilityCount: boolean | null;
    schedulingType: import('../../../../prisma-client').$Enums.SchedulingType | null;
    bookingLimits: import('../../../../prisma-client').Prisma.JsonValue;
    durationLimits: import('../../../../prisma-client').Prisma.JsonValue;
    assignAllTeamMembers: boolean;
    assignRRMembersUsingSegment: boolean;
    useEventTypeDestinationCalendarEmail: boolean;
    isRRWeightsEnabled: boolean;
    maxLeadThreshold: number | null;
    rescheduleWithSameRoundRobinHost: boolean;
    secondaryEmailId: number | null;
    destinationCalendar: {
        id: number;
        userId: number | null;
        credentialId: number | null;
        eventTypeId: number | null;
        integration: string;
        externalId: string;
        primaryEmail: string | null;
        delegationCredentialId: string | null;
        domainWideDelegationCredentialId: string | null;
    } | null;
    parent: {
        team: {
            id: number;
            bookingLimits: import('../../../../prisma-client').Prisma.JsonValue;
            includeManagedEventsInLimits: boolean;
        } | null;
        teamId: number | null;
    } | null;
    secondaryEmail: {
        id: number;
        email: string;
    } | null;
}>;
export type getEventTypeResponse = Awaited<ReturnType<typeof getEventTypesFromDB>>;
export type NewBookingEventType = DefaultEvent | getEventTypeResponse;
//# sourceMappingURL=getEventTypesFromDB.d.ts.map