/** * Operator-side "Generate payment link" dialog. Bookings created via * the new booking flow already land in `on_hold`, so the dialog skips * the choose-flow step and goes straight to producing a link the * operator can share. Optionally pre-fills the amount from a payment * schedule (deposit / balance / etc.) when the booking has any. * * ```tsx * * ``` */ export interface CollectPaymentDialogProps { open: boolean; onOpenChange: (next: boolean) => void; bookingId: string; defaultCurrency: string; defaultAmountCents?: number | null; defaultPayerEmail?: string | null; defaultPayerName?: string | null; /** * Language for the processor's hosted payment page. Pass the picked * person's `preferredLanguage`, the booking locale, or the active admin * locale. Falls back to the processor's deploy-wide default when omitted. */ defaultPayerLanguage?: string | null; /** * Per-session overrides for where the customer's browser lands after * payment success / cancel on the processor's hosted page. Storefront * flows usually pass their own confirmation route; operator-initiated * send-link flows usually leave these unset and let the deploy-wide * `NETOPIA_REDIRECT_URL` point at the public `/pay/:sessionId` landing. */ returnUrl?: string | null; cancelUrl?: string | null; /** Card processor id registered in checkout's `paymentStarters`. */ cardProvider?: string; } export declare function CollectPaymentDialog({ open, onOpenChange, bookingId, defaultCurrency, defaultAmountCents, defaultPayerEmail, defaultPayerName, defaultPayerLanguage, returnUrl, cancelUrl, cardProvider, }: CollectPaymentDialogProps): import("react").JSX.Element;