import { type Config, type Exchange, type GetExchange } from '@farfetch/blackout-client'; import type { Dispatch } from 'redux'; import type { FetchExchangeAction } from '../../index.js'; /** * Method responsible for obtaining a specific exchange. * * @param getExchange - Get exchange client. * * @returns Thunk factory. */ declare const fetchExchangeFactory: (getExchange: GetExchange) => (exchangeId: Exchange['id'], config?: Config) => (dispatch: Dispatch) => Promise; export default fetchExchangeFactory;