import * as React from "react"; import { type BookingRecord } from "../index.js"; export interface BookingCancellationDialogProps { open: boolean; onOpenChange: (open: boolean) => void; booking: BookingRecord; /** * Amount already paid against the booking, in cents of `booking.sellCurrency`. * When present and greater than zero, the dialog makes the finance settlement * consequence explicit before cancellation. */ paidAmountCents?: number | null; /** True when the host knows this booking has at least one recorded payment. */ hasRecordedPayment?: boolean; /** * Product ID used to resolve the applicable cancellation policy. * * Leave unset (or pass `undefined`) to auto-resolve from the booking's items * — this is what you want for single-product bookings. Pass an explicit * string or `null` to override (e.g. for multi-product bookings or to force * the default non-product-scoped policy). */ productId?: string | null; onSuccess?: () => void; } export declare function BookingCancellationDialog({ open, onOpenChange, booking, paidAmountCents, hasRecordedPayment, productId, onSuccess, }: BookingCancellationDialogProps): React.JSX.Element;