import type { EventTypeAppsList } from '../../../app-store/utils';
import type { Fields } from './getBookingFields';
import type { AppCategories, Prisma, EventType } from '../../../kysely/types.ts';
import type { CalendarEvent } from "@calcom/types/Calendar";
declare const handlePayment: ({ evt, selectedEventType, paymentAppCredentials, booking, bookerName, bookerEmail, bookerPhoneNumber, isDryRun, bookingFields, locale, }: {
    evt: CalendarEvent;
    selectedEventType: Pick<EventType, "metadata" | "title">;
    paymentAppCredentials: {
        key: Prisma.JsonValue;
        appId: EventTypeAppsList;
        app: {
            dirName: string;
            categories: AppCategories[];
        } | null;
    };
    booking: {
        user: {
            email: string | null;
            name: string | null;
            timeZone: string;
            username: string | null;
        } | null;
        id: number;
        userId: number | null;
        startTime: {
            toISOString: () => string;
        };
        uid: string;
    };
    bookerName: string;
    bookerEmail: string;
    bookerPhoneNumber?: string | null;
    isDryRun?: boolean;
    bookingFields?: Fields;
    locale?: string;
}) => Promise<{
    success: boolean;
    data: import("@prisma/client/runtime/client").JsonValue;
    id: number;
    refunded: boolean;
    currency: string;
    uid: string;
    appId: string | null;
    externalId: string;
    bookingId: number;
    amount: number;
    fee: number;
    paymentOption: import('../../../kysely/types.ts').PaymentOption | null;
} | null>;
export { handlePayment };
//# sourceMappingURL=handlePayment.d.ts.map