import type { z } from "zod";
import { bookingCancelInput } from '../../../prisma/zod-utils';
import { getBookingToDelete } from "./getBookingToDelete";
type PlatformParams = {
    platformClientId?: string;
    platformRescheduleUrl?: string;
    platformCancelUrl?: string;
    platformBookingUrl?: string;
    arePlatformEmailsEnabled?: boolean;
};
export type BookingToDelete = Awaited<ReturnType<typeof getBookingToDelete>>;
export type CancelBookingInput = {
    userId?: number;
    bookingData: z.infer<typeof bookingCancelInput>;
} & PlatformParams;
export type HandleCancelBookingResponse = {
    success: boolean;
    message: string;
    onlyRemovedAttendee: boolean;
    bookingId: number;
    bookingUid: string;
};
declare function handler(input: CancelBookingInput): Promise<{
    success: true;
    onlyRemovedAttendee: true;
    bookingId: number;
    bookingUid: string;
    message: string;
} | {
    success: true;
    message: string;
    onlyRemovedAttendee: false;
    bookingId: number;
    bookingUid: string;
}>;
export default handler;
//# sourceMappingURL=handleCancelBooking.d.ts.map