import { type Config, type Order, type OrderItem, type PostOrderItemActivity, type PostOrderItemActivityData } from '@farfetch/blackout-client'; import type { AddOrderItemActivityAction } from '../../types/actions.types.js'; import type { Dispatch } from 'redux'; /** * Method responsible for creating an activity to perform on the order item. * * @param postOrderItemActivity - Post order item activity client. * * @returns Promise that will resolve when the call to the endpoint finishes. */ declare const addOrderItemActivityFactory: (postOrderItemActivity: PostOrderItemActivity) => (orderId: Order['id'], itemId: OrderItem['id'], data: PostOrderItemActivityData, config?: Config) => (dispatch: Dispatch) => Promise; export default addOrderItemActivityFactory;