/** * Construct slug for a given pathname. * * @example * ``` * const slug = getSlug('/us/shopping/woman'); * Result of slug === 'woman'; * * ``` * * @param pathname - Pathname. * * @returns Result with the correct path do call the endpoint. */ declare const getSlug: (pathname: string, isCustomListingPage?: boolean) => string; export default getSlug;