import type { ResetSharedWishlistEntitiesAction, ResetSharedWishlistStateAction } from '../types/index.js'; import type { StoreState } from '../../types/index.js'; import type { ThunkDispatch } from 'redux-thunk'; /** * Reset wishlist state and related entities to its initial value. * * @example * ``` * import { resetSharedWishlist } from '@farfetch/blackout-redux'; * * // State object before executing action * const state = { result: '123', error: null, isLoading: false}; * * // Store: { entities: { * sharedWishlist: { 123: {...} }, * sharedWishlistItems: { 1: {...} } * } } * * // Result: * State: { result: null, error: null, isLoading: false,} } * Store: { entities: { } } * * dispatch(resetSharedWishlist()); * * ``` * * @returns Dispatch reset state and entities action. */ declare const resetSharedWishlist: () => (dispatch: ThunkDispatch) => void; export default resetSharedWishlist;