import type { BookingDetailHostSlotContext } from "@voyant-travel/bookings-react/admin"; import * as React from "react"; /** * Props of the pending payment-sessions widget: exactly the slot context * the bookings detail host hands to `booking.details.finance-start` widget * contributions (see `bookingDetailFinanceStartSlot` in * `@voyant-travel/bookings-react/admin`). */ export type BookingPendingPaymentSessionsWidgetProps = BookingDetailHostSlotContext; /** * Finance-owned payment-links card for the booking detail page's Finance * tab, delivered as a widget contribution on `booking.details.finance-start` * (packaged-admin RFC §4.7 cycle resolution: this package depends on * `@voyant-travel/bookings-react/ui`, so the bookings host cannot import the card — * finance contributes it instead). Lists the booking's pending payment * sessions and lets ops copy the public payment link, mark a session paid * (manual bank-transfer capture) or cancel it. * * The copy action resolves the public checkout origin from the * starter-level `/v1/public/payment-link-config` route through the shared * finance provider context, falling back to the dashboard origin. */ export declare function BookingPendingPaymentSessionsWidget({ booking, fullyPaidReason, onGenerateLink, }: BookingPendingPaymentSessionsWidgetProps): React.ReactElement;