import type { PublicStartPaymentSessionInput } from "../schemas.js"; export type StartPublicPaymentSessionTarget = { targetType: "booking_payment_schedule"; bookingId: string; targetId: string; input: PublicStartPaymentSessionInput; } | { targetType: "booking_guarantee"; bookingId: string; targetId: string; input: PublicStartPaymentSessionInput; }; export declare function usePublicPaymentSessionMutation(): import("@tanstack/react-query").UseMutationResult<{ data: { legacyOrderId: string | null; providerConnectionId: string | null; target: { type: "booking_session"; bookingSessionId: string; } | { type: "booking"; bookingId: string; } | { type: "invoice"; invoiceId: string; } | { type: "booking_payment_schedule"; bookingPaymentScheduleId: string; } | { type: "booking_guarantee"; bookingGuaranteeId: string; } | { type: "flight_order"; flightOrderId: string; } | { type: "program"; programId: string; } | { type: "supplier_settlement"; supplierSettlementId: string; } | { type: "channel_settlement"; channelSettlementId: string; } | { type: "provider_reference"; provider: string; reference: string; } | { type: "legacy_order"; legacyOrderId: string; } | null; provenance: { source: "other" | "operator" | "storefront" | "customer_portal" | "payment_provider" | "supplier_channel" | "migration"; provider?: string | null | undefined; reference?: string | null | undefined; idempotencyKey?: string | null | undefined; } | null; id: string; targetType: "invoice" | "other" | "booking_session" | "booking" | "order" | "booking_payment_schedule" | "booking_guarantee" | "flight_order"; targetId: string | null; bookingId: string | null; invoiceId: string | null; bookingPaymentScheduleId: string | null; bookingGuaranteeId: string | null; status: "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | "expired"; provider: string | null; providerSessionId: string | null; providerPaymentId: string | null; externalReference: string | null; clientReference: string | null; currency: string; amountCents: number; paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null; payerEmail: string | null; payerName: string | null; redirectUrl: string | null; returnUrl: string | null; cancelUrl: string | null; expiresAt: string | null; completedAt: string | null; failureCode: string | null; failureMessage: string | null; notes: string | null; }; }, Error, StartPublicPaymentSessionTarget, unknown>;