import { type Config, type GetPaymentIntent, type PaymentIntent } from '@farfetch/blackout-client'; import type { Dispatch } from 'redux'; import type { FetchPaymentIntentAction } from '../../types/index.js'; /** * Gets the payment intent details. * * @param getPaymentIntent - Get payment intent client. * * @returns Thunk factory. */ declare const fetchPaymentIntentFactory: (getPaymentIntent: GetPaymentIntent) => (paymentIntentId: PaymentIntent['id'], config?: Config) => (dispatch: Dispatch) => Promise; export default fetchPaymentIntentFactory;