import { type Config, type GetWishlist, type Wishlist } from '@farfetch/blackout-client'; import type { Dispatch } from 'redux'; import type { FetchWishlistAction } from '../../types/index.js'; import type { GetOptionsArgument, StoreState } from '../../../types/index.js'; /** * Creates a thunk factory configured with the specified client to fetch wishlist * with given id. * * @param getWishlist - Get wishlist client. * * @returns Thunk factory. */ declare const fetchWishlistFactory: (getWishlist: GetWishlist) => (wishlistId: Wishlist['id'], config?: Config) => (dispatch: Dispatch, getState: () => StoreState, { getOptions, }: GetOptionsArgument) => Promise; export default fetchWishlistFactory;