import type { UseCreateConfirmationTokenReturn } from '../types/index.cjs'; /** * Composable for creating a ConfirmationToken from the Payment Element, to confirm * the PaymentIntent or SetupIntent on your server. * * Wraps `stripe.createConfirmationToken({ elements, params })`. `elements` defaults to * the instance injected by ``, and `elements.submit()` runs first * (Stripe requires it) unless `skipSubmit: true`. A submit error resolves as * `{ error }` without creating a token; otherwise the result and error handling * match the other method composables (an `{ error }` result sets `error`, a throw * is recorded and rethrown). * * @example * ```vue * * ``` */ export declare function useCreateConfirmationToken(): UseCreateConfirmationTokenReturn;