import { type CheckoutOrder, type Config, type GetCheckoutOrderResponse, type PatchCheckoutOrder, type PatchCheckoutOrderData } from '@farfetch/blackout-client'; import type { Dispatch } from 'redux'; import type { GetOptionsArgument } from '../../../types/getOptionsArgument.types.js'; import type { StoreState } from '../../../types/storeState.types.js'; /** * Method responsible for changing the checkout information. This is used for any * type of changes to the checkout object. This also replaces the deprecated * putShippingOption function. * * @param patchCheckoutOrder - Patch checkout client. * * @returns Thunk factory. */ declare const updateCheckoutOrderFactory: (patchCheckoutOrder: PatchCheckoutOrder) => (checkoutOrderId: CheckoutOrder['id'], data: PatchCheckoutOrderData, config?: Config) => (dispatch: Dispatch, getState: () => StoreState, { getOptions, }: GetOptionsArgument) => Promise; export default updateCheckoutOrderFactory;