import type { BagItemEntity, MerchantEntity, ProductEntity, ProductEntityDenormalized } from '../../entities/types/index.js'; import type { CustomAttributesAdapted } from '../../helpers/adapters/index.js'; type Params = Partial<{ productId: ProductEntity['id']; product: ProductEntityDenormalized; customAttributes: CustomAttributesAdapted | string; merchantId: MerchantEntity['id']; merchant: MerchantEntity['id']; productAggregator: BagItemEntity['productAggregator']; productAggregatorId: Exclude['id']; size: BagItemEntity['size'] | number; scale: string | number; }>; /** * Creates a hash based on the merchant, product, size ids and custom attributes. * * @param params - The params needed to create a hash. * * @returns The hash created. */ declare const generateBagItemHash: (params: Params) => string; export default generateBagItemHash;