UNPKG

@vue-stripe/vue-stripe

Version:

Vue Stripe elements and composables for Stripe.js

42 lines 1.36 kB
import { Stripe } from '@stripe/stripe-js'; import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue-demi'; interface Props { publishableKey?: string; stripeKey?: string; stripeAccount?: string; apiVersion?: string; locale?: string; options?: { stripeAccount?: string; apiVersion?: string; locale?: string; }; } declare function __VLS_template(): { attrs: Partial<{}>; slots: { error?(_: { error: string; }): any; loading?(_: {}): any; default?(_: {}): any; }; refs: {}; rootEl: any; }; type __VLS_TemplateResult = ReturnType<typeof __VLS_template>; declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { load: (stripe: Stripe) => any; error: (error: Error) => any; }, string, PublicProps, Readonly<Props> & Readonly<{ onLoad?: (stripe: Stripe) => any; onError?: (error: Error) => any; }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>; declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>; export default _default; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; }; //# sourceMappingURL=VueStripeProvider.vue.d.ts.map