import type { UseBookingFormReturnType } from '../../../../features/bookings/Booker/components/hooks/useBookingForm';
import type { BookerEvent } from '../../../../features/bookings/types';
import type { RoutingFormSearchParams } from '../../../types/index.ts';
import type { BookingCreateBody } from '../../../../prisma/zod/custom/booking';
import type { UseCreateBookingInput } from "./useCreateBooking";
type Callbacks = {
    onSuccess?: () => void;
    onError?: (err: any) => void;
};
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, callbacks?: Callbacks) => void;
    handleInstantBooking: (input: BookingCreateBody, callbacks?: Callbacks) => void;
    handleRecBooking: (input: BookingCreateBody[], callbacks?: Callbacks) => void;
    locationUrl?: string;
    routingFormSearchParams?: RoutingFormSearchParams;
    isBookingDryRun?: boolean;
};
export declare const useHandleBookEvent: ({ bookingForm, event, metadata, hashedLink, handleBooking, handleInstantBooking, handleRecBooking, locationUrl, routingFormSearchParams, isBookingDryRun, }: UseHandleBookingProps) => (inputTimeSlot?: string) => void;
export {};
//# sourceMappingURL=useHandleBookEvent.d.ts.map