/** * additional stripe methods */ export declare class StripeExtension { constructor(apiKey: string); _apiKey: string; confirmPaymentIntentByCard: (this: StripeExtension, paymentIntentSecret: string, paymentMethodId: string, returnUrl?: string) => Promise; confirmPaymentIntentByPaymentMethod: (this: StripeExtension, paymentIntentSecret: string, paymentMethodId: string, returnUrl?: string) => Promise; addSourceToCustomer: (this: StripeExtension, token: string, customerId: string, ephemeralKey: string) => Promise; deleteSourceFromCustomer: (this: StripeExtension, sourceId: string, customerId: string, ephemeralKey: string) => Promise; getAllCards: (this: StripeExtension, customerId: string, ephemeralKey: string) => Promise; getCustomer: (this: StripeExtension, customerId: string, ephemeralKey: string) => Promise; setDefaultCard: (this: StripeExtension, cardId: string, customerId: string, ephemeralKey: string) => Promise; getDefaultCard: (this: StripeExtension, customerId: string, ephemeralKey: string) => Promise; addPaymentMethodToCustomer: (this: StripeExtension, paymentMethodId: string, customerId: string, ephemeralKey: string) => Promise; deletePaymentMethodFromCustomer: (this: StripeExtension, paymentMethodId: string, ephemeralKey: string) => Promise; getAllPaymentMethods: (this: StripeExtension, customerId: string, ephemeralKey: string) => Promise; setDefaultPaymentMethod: (this: StripeExtension, paymentMethodId: string, customerId: string, ephemeralKey: string) => Promise; }