import { StripeCardInterface, } from './stripe-card.interface'; import { StripeResponseInterface, } from './stripe-response.interface'; import { StripeSingleElementInterface, } from './stripe-single-element.interface'; import { StripeElementsInterface, } from './stripe-elements.interface'; export interface StripeInterface { card: StripeCardInterface; createToken: ( cardElement: StripeSingleElementInterface, ) => Promise; createPaymentMethod: (arg0: any) => any; confirmCardPayment: (arg0: string, arg1?: any) => Promise; elements: () => StripeElementsInterface; setPublishableKey: (publishableKey: string) => void; }