/** * Hook to provide data for the business logic attached to a wishlist item. */ import { type WishlistItemActionMetadata } from '@farfetch/blackout-redux'; import type { Config, PatchWishlistItemData } from '@farfetch/blackout-client'; import type { WishlistItemId } from './types/useWishlistItem.types.js'; /** * Provides Redux actions and state access for dealing with wishlist item business * logic. * * @param wishlistItemId - Wishlist item identifier. * * @returns All the state, actions and relevant data needed to manage a wishlist item operation. */ declare const useWishlistItem: (wishlistItemId: WishlistItemId) => { isLoading: boolean; error: import("@farfetch/blackout-client").BlackoutError | null | undefined; isFetched: boolean; data: import("@farfetch/blackout-redux").WishlistItemDenormalized | undefined; actions: { update: (data: PatchWishlistItemData, metadata?: WishlistItemActionMetadata, config?: Config) => Promise; remove: (metadata?: WishlistItemActionMetadata, config?: Config) => Promise; }; }; export default useWishlistItem;