import { type Config, type GetProduct, type Product, type ProductDetailsQuery } from '@farfetch/blackout-client'; import type { Dispatch } from 'redux'; import type { GetOptionsArgument, StoreState } from '../../../types/index.js'; /** * Creates a thunk factory configured with the specified client to fetch product * details for a given product id. * * @param getProductDetails - Get product details client. * * @returns Thunk factory. */ declare const fetchProductDetailsFactory: (getProductDetails: GetProduct) => (productId: Product['result']['id'], query?: ProductDetailsQuery, forceDispatch?: boolean, config?: Config) => (dispatch: Dispatch, getState: () => StoreState, { getOptions, }: GetOptionsArgument) => Promise; export default fetchProductDetailsFactory;