import { type Config, type PatchWishlistItem, type PatchWishlistItemData, type Wishlist, type WishlistItem } from '@farfetch/blackout-client'; import type { Dispatch } from 'redux'; import type { GetOptionsArgument, StoreState } from '../../../types/index.js'; import type { UpdateWishlistItemAction, WishlistItemActionMetadata } from '../../types/index.js'; /** * Creates a thunk factory configured with the specified client to update a * wishlist item with given `data`. * * @param patchWishlistItem - Patch wishlist item client. * * @returns Thunk factory. */ declare const updateWishlistItemFactory: (patchWishlistItem: PatchWishlistItem) => (wishlistId: Wishlist['id'], wishlistItemId: WishlistItem['id'], data: PatchWishlistItemData, metadata?: WishlistItemActionMetadata, config?: Config) => (dispatch: Dispatch, getState: () => StoreState, { getOptions, }: GetOptionsArgument) => Promise; export default updateWishlistItemFactory;