import type { SalesSdkCartItemView } from '../types'; /** * Toast 用:统计购物车中同一 catalog 商品 id 的行数量之和(`num`)。 * 与 ticketBooking `getServiceQuantity` 用途一致;复杂 merge 行由 OS 加车后再刷新。 */ export declare function resolveInCartQuantityForAddToast(cartItems: SalesSdkCartItemView[], productId: number | string): number;