/** * The slice of `@stripe/stripe-react-native` the onramp client uses. A type-only * reference, so it costs nothing at runtime and typechecks against the dev copy. */ export type StripeSdk = Pick; /** * Loads Stripe's SDK on demand. It is an optional peer: a host that never * configures Stripe never installs it, so nothing may name the package outside * the guarded `import()` below. * * - Metro treats an `import()` inside a syntactic `try` as optional, so a bundle * still builds when the package is absent. This function is deliberately not * `async`: a regenerator pass would flatten the `try` and lose that marker. * - The SDK calls `TurboModuleRegistry.getEnforcing('StripeSdk')` as its module * body runs, which throws on a binary without the pod. Deferring the import * to here keeps that throw out of every host's startup path. */ export declare function loadStripeSdk(): Promise; //# sourceMappingURL=stripeSdk.d.ts.map