import { type Config, type GetReturn, type Return } from '@farfetch/blackout-client'; import type { Dispatch } from 'redux'; /** * Method responsible for obtaining a specific return. * * @param getReturn - Get return client. * * @returns Thunk factory. */ declare const fetchReturnFactory: (getReturn: GetReturn) => (returnId: Return['id'], config?: Config) => (dispatch: Dispatch) => Promise; export default fetchReturnFactory;