UNPKG

@automattic/wpcom-checkout

Version:
15 lines 913 B
import type { StripeConfiguration } from '@automattic/calypso-stripe'; import type { PaymentMethod, ProcessPayment } from '@automattic/composite-checkout'; import type { CartKey } from '@automattic/shopping-cart'; import type { Stripe } from '@stripe/stripe-js'; export declare function createGooglePayMethod(stripe: Stripe, stripeConfiguration: StripeConfiguration, cartKey: CartKey): PaymentMethod; export declare function GooglePayLabel(): import("react/jsx-runtime").JSX.Element; export declare function GooglePaySubmitButton({ disabled, onClick, stripe, stripeConfiguration, cartKey, }: { disabled?: boolean; onClick?: ProcessPayment; stripe: Stripe; stripeConfiguration: StripeConfiguration; cartKey: CartKey; }): import("react/jsx-runtime").JSX.Element | null; export declare function GooglePaySummary(): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=google-pay.d.ts.map