import type StripeSdk from 'stripe'; // Type-only re-export of the Stripe SDK namespace (`Stripe.Customer`, etc.). // `stripe` is an opt-in dependency, so this must not emit a runtime import — // use the lazy `stripe` client from `./drivers/stripe` for actual SDK calls. export type { StripeSdk as Stripe }; // Main Payment facade export * from './payment'; export { default as Payment } from './payment'; // Billable modules export * from './billable/index'; // Stripe driver and SDK export * from './drivers/stripe'; // Idempotency-key helpers — passed to every Stripe create/update so // retries don't produce duplicate objects (stacksjs/stacks#1876 X-1). export { freshIdempotencyKey, stacksIdempotencyKey } from './idempotency';