import { type Plugin } from 'vue-demi'; import type { VueStripeOptions } from './types/index.js'; /** * Vue Stripe Plugin * * App-wide alternative to ``. Provides the config under * {@link stripeConfigInjectionKey} and a Stripe instance under * {@link stripeInjectionKey}, so `useStripe()`, ``, the * element components and `` work without a provider. * Stripe.js loads once, the first time something needs it. A nested * `` still wins for everything inside it. * * @example * ```ts * import { createApp } from 'vue' * import { createVueStripe } from '@vue-stripe/vue-stripe' * * const app = createApp(App) * app.use(createVueStripe({ * publishableKey: 'pk_test_...', * stripeAccount: 'acct_...', // optional * locale: 'en' // optional * })) * ``` */ export declare function createVueStripe(options: VueStripeOptions): Plugin;