import type { BookingCodeStep, BookingDetails, BookingPaymentSession, BookingProps, BookingSubmitPayload } from './booking-types'; export declare function useBookingPayment({ services, value, availableSlots, onSubmit, onChange, paymentState, submitting, paymentTermsUrl, renderPayment, codeStep, }: Pick): { payment: import("./booking-types").BookingResolvedPayment | undefined; blocked: boolean; state: import("./booking-types").BookingPaymentState | undefined; activeSession: BookingPaymentSession | undefined; submit: (details: BookingDetails) => Promise; reset: () => void; completeCode: (redirectUrl?: string) => void; status: "idle" | "submitting" | "payment" | "code" | "success" | "error"; snapshot?: BookingSubmitPayload; session?: BookingPaymentSession; cancelled?: boolean; codeStep?: BookingCodeStep; codeVerified?: boolean; /** Address to open from the "Time reserved" view, as the host gave it. */ redirectUrl?: string; }; //# sourceMappingURL=use-booking-payment.d.ts.map