import { type Config, type GetPaymentMethodsByIntent, type PaymentIntent, type PaymentMethods } from '@farfetch/blackout-client'; import type { Dispatch } from 'redux'; import type { FetchPaymentMethodsByIntentAction } from '../../types/index.js'; /** * Obtains all the payment methods available for the intent. * * @param getPaymentMethodsByIntent - Get payment methods by intent. * * @returns Thunk factory. */ declare const fetchPaymentMethodsByIntentFactory: (getPaymentMethodsByIntent: GetPaymentMethodsByIntent) => (id: PaymentIntent['id'], config?: Config) => (dispatch: Dispatch) => Promise; export default fetchPaymentMethodsByIntentFactory;