import type { Prisma } from '../prisma-client';
type DestinationCalendar = {
    id: number;
    integration: string;
    externalId: string;
    primaryEmail: string | null;
    userId: number | null;
    eventTypeId: number | null;
    credentialId: number | null;
    domainWideDelegationCredentialId: string | null;
} | null;
type Attendee = {
    email: string;
    name: string;
    timeZone: string;
    locale: string | null;
};
type Organizer = {
    email: string;
    name: string | null;
    timeZone: string;
    locale: string | null;
};
type EventType = {
    title: string;
    recurringEvent: Prisma.JsonValue | null;
    seatsPerTimeSlot: number | null;
    seatsShowAttendees: boolean | null;
};
type Booking = {
    title: string;
    description: string | null;
    startTime: Date | null;
    endTime: Date | null;
    userPrimaryEmail: string | null;
    uid: string;
    destinationCalendar: DestinationCalendar;
    user: {
        destinationCalendar: DestinationCalendar;
    } | null;
    attendees: Attendee[];
    eventType: EventType | null;
};
export declare const buildCalEventFromBooking: ({ booking, organizer, location, conferenceCredentialId, }: {
    booking: Booking;
    organizer: Organizer;
    location: string;
    conferenceCredentialId: number | null;
}) => Promise<{
    title: string;
    type: string;
    description: string;
    startTime: string;
    endTime: string;
    organizer: {
        email: string;
        name: string;
        timeZone: string;
        language: {
            translate: import("i18next").TFunction<string, undefined>;
            locale: string;
        };
    };
    attendees: {
        name: string;
        email: string;
        timeZone: string;
        language: {
            translate: import("i18next").TFunction<string, undefined>;
            locale: string;
        };
    }[];
    uid: string;
    recurringEvent: import("@calcom/types/Calendar").RecurringEvent | null;
    location: string;
    conferenceCredentialId: number | undefined;
    destinationCalendar: {
        id: number;
        integration: string;
        externalId: string;
        primaryEmail: string | null;
        userId: number | null;
        eventTypeId: number | null;
        credentialId: number | null;
        domainWideDelegationCredentialId: string | null;
    }[];
    seatsPerTimeSlot: number | null | undefined;
    seatsShowAttendees: boolean | null | undefined;
}>;
export {};
//# sourceMappingURL=buildCalEventFromBooking.d.ts.map