import type { Config, GetProductSet, GetProductSetQuery, ProductSet } from '@farfetch/blackout-client'; import type { Dispatch } from 'redux'; import type { GetOptionsArgument, StoreState } from '../../../types/index.js'; import type { ProductListActionOptions } from '../../types/index.js'; /** * Creates a thunk factory configured with the specified client to fetch a specific * set by its id. * * @param getProductSet - Get product set client. * * @returns Thunk factory. */ declare const fetchProductSetFactory: (getSet: GetProductSet) => (slug: string | number, query?: GetProductSetQuery, actionOptions?: ProductListActionOptions, config?: Config) => (dispatch: Dispatch, getState: () => StoreState, options: GetOptionsArgument) => Promise; export default fetchProductSetFactory;