UNPKG

@klevu/core

Version:

Typescript SDK that simplifies development on Klevu backend. Klevu provides advanced AI-powered search and discovery solutions for online retailers.

22 lines (21 loc) 733 B
import { KlevuFetchFunctionReturnValue } from "../index.js"; import { KlevuFetchModifer } from "../../index.js"; type Options = { /** * The number of products to return */ limit: number; /** * List of string ids for last clicked products */ lastClickedProductIds?: string[]; }; /** * Shows products that visitor should also see. Automatically applies products that user has already clicked. * * @category RecommendationQuery * @param {Options} options Allows to override limit of products to return or pass custom lastClickedProductIds * @returns */ export declare function alsoViewed(options?: Partial<Options>, ...modifiers: KlevuFetchModifer[]): KlevuFetchFunctionReturnValue; export {};