import type { Page } from "@playwright/test";
import type { Prisma } from '../../../prisma/client';
/**
 * Creates the booking on Cal.com and makes the GCal call to fetch the event.
 * Ends on the booking success page
 * @param page
 *
 * @returns the raw GCal event GET response and the booking reference
 */
export declare const createBookingAndFetchGCalEvent: (page: Page, qaGCalCredential: Prisma.CredentialGetPayload<{
    select: {
        id: true;
    };
}> | null, qaUsername: string) => Promise<{
    gCalEvent: import("@googleapis/calendar").calendar_v3.Schema$Event;
    gCalReference: {
        booking: {
            title: string;
            metadata: Prisma.JsonValue;
            id: number;
            location: string | null;
            status: import('../../../prisma-client').$Enums.BookingStatus;
            description: string | null;
            eventTypeId: number | null;
            userId: number | null;
            customInputs: Prisma.JsonValue;
            smsReminderNumber: string | null;
            recurringEventId: string | null;
            rescheduledBy: string | null;
            uid: string;
            cancellationReason: string | null;
            cancelledBy: string | null;
            iCalUID: string | null;
            responses: Prisma.JsonValue;
            idempotencyKey: string | null;
            userPrimaryEmail: string | null;
            startTime: Date;
            endTime: Date;
            createdAt: Date;
            updatedAt: Date | null;
            paid: boolean;
            destinationCalendarId: number | null;
            rejectionReason: string | null;
            reassignReason: string | null;
            reassignById: number | null;
            dynamicEventSlugRef: string | null;
            dynamicGroupSlugRef: string | null;
            rescheduled: boolean | null;
            fromReschedule: string | null;
            scheduledJobs: string[];
            isRecorded: boolean;
            iCalSequence: number;
            rating: number | null;
            ratingFeedback: string | null;
            noShowHost: boolean | null;
            oneTimePassword: string | null;
        } | null;
        uid: string;
    };
    booking: {
        title: string;
        user: {
            email: string;
        } | null;
        uid: string;
        attendees: {
            email: string;
        }[];
        startTime: Date;
        endTime: Date;
    };
    authedCalendar: import("@googleapis/calendar").calendar_v3.Calendar;
}>;
export declare const deleteBookingAndEvent: (authedCalendar: any, bookingUid: string, gCalReferenceUid?: string) => Promise<void>;
export declare function assertValueExists(value: unknown, variableName?: string): asserts value;
//# sourceMappingURL=testUtils.d.ts.map