UNPKG

stripe-react-native-apple-pay

Version:

React Native wrapper around Stripe Apple Pay

9 lines 558 B
import type { ApplePay, InitialiseParams, StripeError } from './types'; import { ApplePayError } from './types/ApplePay'; export declare function initStripe(params: InitialiseParams): Promise<void>; export declare function isApplePaySupported(): Promise<boolean>; export declare function presentApplePay(params: ApplePay.PresentParams, clientSecret?: string): Promise<ApplePay.ApplePayResult>; export declare const confirmApplePayPayment: (clientSecret: string) => Promise<{ error?: StripeError<ApplePayError>; }>; //# sourceMappingURL=functions.d.ts.map