import { type SearchIntents } from '@farfetch/blackout-client';
/**
* Gets the URL to redirect according to the search intents result. In a nutshell,
* the logic is based on types:
*
*
* - Redirect: not much to say, redirect to the received url;
* - Product: builds the url for the respective product's Pdp;
* - Listing: builds the url, with the correct slugs, for the
* respective listing.
*
.
*
* @param searchIntents - Search intents result.
* @param baseUrl - Base url to prepend to the final redirect url.
*
* @returns The URL to redirect the user into.
*/
declare const getSearchRedirectUrl: (searchIntents: SearchIntents | undefined, baseUrl: string) => string | undefined;
export default getSearchRedirectUrl;