import type { PaymentRequestOptions } from '@stripe/stripe-js'; import type { UsePaymentRequestReturn } from '../types/index.js'; /** * Composable for the Payment Request API (`stripe.paymentRequest()`): Apple Pay, * Google Pay and browser-saved cards behind your own button. * * Creates the `PaymentRequest` once Stripe.js has loaded, resolves `canMakePayment()` * into a ref, forwards `show` / `update` / `abort`, and detaches every handler * registered through `on` when the calling component unmounts. Stripe recommends the * Express Checkout Element (`VueStripeExpressCheckoutElement`) for new integrations. * * @example * ```vue * * * * ``` */ export declare function usePaymentRequest(options: PaymentRequestOptions): UsePaymentRequestReturn;