import type { CreateCheckoutSessionResult, PaymentGatewayId } from '../types/payment'; /** * Normalizes user input to `stripe` | `razorpay` (case-insensitive, spaces ignored), same as backend. */ export declare function normalizePaymentGatewayId(input: string): PaymentGatewayId | null; export interface PaymentGatewayChoiceProps { /** * Which gateways to show. Pass gateway names (e.g. `['stripe', 'razorpay']`) — only listed options appear. */ gateways: readonly (PaymentGatewayId | string)[]; planId: number; couponCode?: string; /** * Creates a checkout session for the selected vendor. Use `createPaymentCheckoutHandlers` or your own API client. */ onCreateCheckout: (input: { planId: number; couponCode?: string; vendor: PaymentGatewayId; }) => Promise; title?: string; subtitle?: string; /** Defaults to assigning `window.location.href = url`. */ onRedirect?: (url: string) => void; className?: string; } export declare function PaymentGatewayChoice({ gateways, planId, couponCode, onCreateCheckout, title, subtitle, onRedirect, className, }: PaymentGatewayChoiceProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=PaymentGatewayChoice.d.ts.map