//#region src/payment-methods/next-action-handlers.d.ts /** * Result of handling a next action. */ type NextActionResult = { success: true; } | { success: false; error: string; }; /** * Handle a next action based on its type. * Routes to the appropriate processor-specific handler. * * @param nextAction - The next action from the checkout response * @returns Result indicating success or failure with error message */ declare const handleNextAction: (nextAction: NonNullable) => Promise; //#endregion export { NextActionResult, handleNextAction }; //# sourceMappingURL=next-action-handlers.d.mts.map