import { type Config, type GetSearchIntents, type GetSearchIntentsQuery, type SearchIntents } from '@farfetch/blackout-client'; import type { Dispatch } from 'redux'; import type { FetchSearchIntentsAction } from '../../types/index.js'; /** * Creates a thunk factory configured with the specified client to fetch the search * intents for the given query with search terms. With these results is possible to * know the next action to perform - redirect to a pdp, plp or another * `redirectUrl`. * * @param getSearchIntents - Get search intents client. * * @returns Thunk factory. */ declare const fetchSearchIntentsFactory: (getSearchIntents: GetSearchIntents) => (query: GetSearchIntentsQuery, config?: Config) => (dispatch: Dispatch) => Promise; export default fetchSearchIntentsFactory;