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: {
            id: number;
            title: string;
            metadata: Prisma.JsonValue;
            status: import('../../../prisma-client').$Enums.BookingStatus;
            description: string | null;
            paid: boolean;
            location: string | null;
            rescheduled: boolean | null;
            rating: number | null;
            uid: string;
            userId: number | null;
            eventTypeId: number | null;
            customInputs: Prisma.JsonValue;
            smsReminderNumber: string | null;
            recurringEventId: string | null;
            cancellationReason: string | null;
            cancelledBy: string | null;
            iCalUID: string | null;
            responses: Prisma.JsonValue;
            startTime: Date;
            endTime: Date;
            idempotencyKey: string | null;
            userPrimaryEmail: string | null;
            createdAt: Date;
            updatedAt: Date | null;
            destinationCalendarId: number | null;
            rejectionReason: string | null;
            reassignReason: string | null;
            reassignById: number | null;
            dynamicEventSlugRef: string | null;
            dynamicGroupSlugRef: string | null;
            fromReschedule: string | null;
            scheduledJobs: string[];
            isRecorded: boolean;
            iCalSequence: number;
            ratingFeedback: string | null;
            noShowHost: boolean | null;
            oneTimePassword: string | null;
            rescheduledBy: string | null;
            creationSource: import('../../../prisma-client').$Enums.CreationSource | null;
        } | null;
        uid: string;
    };
    booking: {
        user: {
            email: string;
        } | null;
        title: string;
        attendees: {
            email: string;
        }[];
        uid: 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