import { type Config, type Exchange, type PostExchange, type PostExchangeData } from '@farfetch/blackout-client'; import type { CreateExchangeAction } from '../../index.js'; import type { Dispatch } from 'redux'; /** * Method responsible for creating an exchange. * * @param postExchange - Post exchange client. * * @returns Thunk factory. */ declare const createExchangeFactory: (postExchange: PostExchange) => (data: PostExchangeData, config?: Config) => (dispatch: Dispatch) => Promise; export default createExchangeFactory;