import { smartCollectionsResults } from "../models/smartCollections"; import { Product } from "../models/fullTextSearch"; import { FullTextResults } from "../models/common"; /** * duplicationsHandler provides a method to filter out duplicate products across pages * within the same query session. A session is uniquely identified by a composite key * built from the query (or categoryID), sortBy, and narrow parameters. */ export declare const duplicationsHandler: { /** * Filter the list of products to remove duplicates across paginated responses. * It uses a global history dictionary (stored on window) to track product IDs seen * in each session and on each page. * * @param {FullTextResults | smartCollectionsResults} result - The result object containing the products. * @returns {Product[] | undefined} - The filtered list of products, or undefined if no products are provided. */ getFilteredProducts(result: FullTextResults | smartCollectionsResults): Product[] | undefined; };