import type * as Whop from "../index.js"; /** * What the buyer must do to finish. `type` picks the shape and each type carries only its own `data`, so switching on `type` gives you exactly that step's payload. */ export type PaymentNextAction = Whop.PaymentNextAction.AwaitConfirmation | Whop.PaymentNextAction.CollectCardPresent | Whop.PaymentNextAction.DisplayInstructions | Whop.PaymentNextAction.Redirect; export declare namespace PaymentNextAction { interface AwaitConfirmation extends Whop.PaymentNextActionAwaitConfirmation { type: "await_confirmation"; } interface CollectCardPresent extends Whop.PaymentNextActionCollectCardPresent { type: "collect_card_present"; } interface DisplayInstructions extends Whop.PaymentNextActionDisplayInstructions { type: "display_instructions"; } interface Redirect extends Whop.PaymentNextActionRedirect { type: "redirect"; } }