import type { Prisma } from '../prisma-client';
import type { z } from "zod";
import { bookingResponsesDbSchema } from '../features/bookings/lib/getBookingResponsesSchema';
import type { PrismaClient } from '../prisma';
type BookingSelect = {
    description: true;
    customInputs: true;
    attendees: {
        select: {
            email: true;
            name: true;
        };
    };
    location: true;
};
declare function getBooking(prisma: PrismaClient, uid: string): Promise<(Omit<{
    user: {
        id: number;
    } | null;
    id: number;
    description: string | null;
    location: string | null;
    attendees: {
        name: string;
        email: string;
        bookingSeat: {
            data: Prisma.JsonValue;
            id: number;
            metadata: Prisma.JsonValue;
            bookingId: number;
            referenceUid: string;
            attendeeId: number;
        } | null;
    }[];
    uid: string;
    customInputs: Prisma.JsonValue;
    smsReminderNumber: string | null;
    responses: Prisma.JsonValue;
    startTime: Date;
}, "responses"> & {
    responses: z.infer<typeof bookingResponsesDbSchema>;
}) | null>;
export type GetBookingType = Prisma.PromiseReturnType<typeof getBooking>;
export declare const getBookingWithResponses: <T extends Prisma.BookingGetPayload<{
    select: BookingSelect & {
        responses: true;
    };
}>>(booking: T) => Omit<T, "responses"> & {
    responses: z.infer<typeof bookingResponsesDbSchema>;
};
export default getBooking;
//# sourceMappingURL=getBooking.d.ts.map