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