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