import { type Config, type PaymentInstrument, type PaymentIntent, type PutPaymentIntentInstrument, type PutPaymentIntentInstrumentData } from '@farfetch/blackout-client'; import type { Dispatch } from 'redux'; import type { UpdatePaymentIntentInstrumentAction } from '../../types/index.js'; /** * Method responsible for updating a payment instrument of a payment intent. * * @param putPaymentIntentInstrument - Put payment intent instrument client. * * @returns Thunk factory. */ declare const updatePaymentIntentInstrumentFactory: (putPaymentIntentInstrument: PutPaymentIntentInstrument) => (paymentIntentId: PaymentIntent['id'], paymentInstrumentId: PaymentInstrument['id'], data: PutPaymentIntentInstrumentData, config?: Config) => (dispatch: Dispatch) => Promise; export default updatePaymentIntentInstrumentFactory;