import type Stripe from 'stripe'; import type Subscription from '../models/subscription.js'; import { type Constructor } from '../types.js'; export declare function handlesPaymentFailures(): (superclass: Model) => { new (...args: any[]): { /** * Indicates if incomplete payments should be confirmed automatically. */ confirmIncompletePayment: boolean; /** * The options to be used when confirming a payment intent. */ paymentConfirmationOptions: Stripe.PaymentIntentConfirmParams; /** * Handle a failed payment for the given subscription. */ handlePaymentFailure(subscription: Subscription, paymentMethod?: Stripe.PaymentMethod | string): Promise; /** * Prevent automatic confirmation of incomplete payments. */ ignoreIncompletePayments(): /*elided*/ any; /** * Specify the options to be used when confirming a payment intent. */ withPaymentConfirmationOptions(params: Stripe.PaymentIntentConfirmParams): /*elided*/ any; }; } & Model;