import type { UseBookingFormReturnType } from '../../../../features/bookings/Booker/components/hooks/useBookingForm';
import type { BookerEvent } from '../../../../features/bookings/types';
import type { BookingCreateBody } from '../../../../prisma/zod-utils';
import type { UseCreateBookingInput } from "./useCreateBooking";
type UseHandleBookingProps = {
    bookingForm: UseBookingFormReturnType["bookingForm"];
    event?: {
        data?: Pick<BookerEvent, "id" | "isDynamic" | "metadata" | "recurringEvent" | "length" | "slug" | "schedulingType"> | null;
    };
    metadata: Record<string, string>;
    hashedLink?: string | null;
    handleBooking: (input: UseCreateBookingInput) => void;
    handleInstantBooking: (input: BookingCreateBody) => void;
    handleRecBooking: (input: BookingCreateBody[]) => void;
    locationUrl?: string;
};
export declare const useHandleBookEvent: ({ bookingForm, event, metadata, hashedLink, handleBooking, handleInstantBooking, handleRecBooking, locationUrl, }: UseHandleBookingProps) => () => void;
export {};
//# sourceMappingURL=useHandleBookEvent.d.ts.map