import type { BookingDetailHostSlotContext } from "@voyant-travel/bookings-react/admin"; /** * Props of the booking invoices widget: exactly the slot context the * bookings detail host hands to `booking.details.invoices-tab` widget * contributions (see `bookingDetailInvoicesTabSlot` in * `@voyant-travel/bookings-react/admin`). */ export type BookingInvoicesWidgetProps = BookingDetailHostSlotContext; /** * Finance-owned invoices card for the booking detail page, delivered as a * widget contribution on `booking.details.invoices-tab` (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). * * Attachment uploads post to the starter-level `/v1/admin/uploads` route through * the shared finance provider context (`baseUrl` + credentialed fetcher). */ export declare function BookingInvoicesWidget({ booking, openInvoiceSheet, }: BookingInvoicesWidgetProps): React.ReactElement;