import { type Bag, type Config, type GetBag, type GetBagQuery } from '@farfetch/blackout-client'; import type { Dispatch } from 'redux'; import type { GetOptionsArgument, StoreState } from '../../../types/index.js'; /** * Creates a thunk factory configured with the specified client to fetch a bag. * * @param getBag - Get bag client. * * @returns Thunk factory. */ declare const fetchBagFactory: (getBag: GetBag) => (bagId: Bag['id'], query?: GetBagQuery, config?: Config) => (dispatch: Dispatch, getState: () => StoreState, { getOptions, }: GetOptionsArgument) => Promise; export default fetchBagFactory;