import { type Bag, type BagItem, type Config, type DeleteBagItem, type DeleteBagItemQuery } from '@farfetch/blackout-client'; import type { BagItemActionMetadata } from '../../types/index.js'; import type { Dispatch } from 'redux'; import type { GetOptionsArgument, StoreState } from '../../../types/index.js'; /** * Creates a thunk factory configured with the specified client to remove a bag * item. * * @param deleteBagItem - Delete bag item client. * * @returns Thunk factory. */ declare const removeBagItemFactory: (deleteBagItem: DeleteBagItem) => (bagId: Bag['id'], bagItemId: BagItem['id'], query?: DeleteBagItemQuery, metadata?: BagItemActionMetadata, config?: Config) => (dispatch: Dispatch, getState: () => StoreState, { getOptions, }: GetOptionsArgument) => Promise; export default removeBagItemFactory;