import { type Config, type GetPaymentIntentInstrument, type PaymentInstrument, type PaymentIntent } from '@farfetch/blackout-client'; import type { Dispatch } from 'redux'; import type { FetchPaymentIntentInstrumentAction } from '../../types/index.js'; /** * Action responsible for fetching an instrument. * * @param getPaymentIntentInstrument - Get payment intent instrument client. * * @returns Thunk factory. */ declare const fetchPaymentIntentInstrumentFactory: (getPaymentIntentInstrument: GetPaymentIntentInstrument) => (paymentIntentId: PaymentIntent['id'], paymentInstrumentId: PaymentInstrument['id'], config?: Config) => (dispatch: Dispatch) => Promise; export default fetchPaymentIntentInstrumentFactory;