import { loadStripe as pureLoadStripe } from '@stripe/stripe-js/pure/index.js'; import type { Stripe, StripeConstructorOptions } from '@stripe/stripe-js'; export declare const loadStripe: typeof pureLoadStripe; /** Test helper: forget the reused instances. */ export declare const clearStripeInstances: () => void; /** * `loadStripe()` plus what every Vue Stripe loader does with the result: * reject a `null` instance and register the library's partner details. * `advancedFraudSignals: false` loads Stripe.js without Stripe's advanced * fraud detection signals (`?advancedFraudSignals=false`). Calls with the same * key, options and `advancedFraudSignals` share one instance; a failed one is * dropped so the next call tries again. `apiVersion` is dropped: versioned * Stripe.js fixes the API version and refuses the option. */ export declare function loadStripeInstance(key: string, { apiVersion, ...options }: StripeConstructorOptions, advancedFraudSignals?: boolean): Promise;