import { Hit } from '@algolia/client-search'; import { RecommendClient, RecommendedForYouParams } from '@algolia/recommend'; export type GetRecommendedForYouProps = { /** * The initialized Algolia recommend client. */ recommendClient: RecommendClient; /** * A function to transform the retrieved items before passing them to the component. * It’s useful to add or remove items, change them, or reorder them. */ transformItems?: (items: Array>) => Array>; } & RecommendedForYouParams; export declare function getRecommendedForYou({ indexName, threshold, queryParameters, recommendClient, maxRecommendations, transformItems, }: GetRecommendedForYouProps): Promise<{ recommendations: Hit[]; }>;