import { SalesSdkCartContextValue } from "../../../salesSdk/types.js"; import { SaleVoucherView } from "./adapters.js"; //#region src/plus/saleDetail/components/PromotionWalletPanels/voucherProductAdd.d.ts interface AddVoucherProductsParams { voucher: SaleVoucherView; products: Record[]; addProduct: SalesSdkCartContextValue['addProductWithFlow']; } /** * 顺序加购所选商品;取消/失败后停止,已成功加入的商品不回滚。 * 卡券选中状态交由 OS 在商品变更后的自动折扣计算决定。 */ declare function addVoucherProducts({ voucher, products, addProduct }: AddVoucherProductsParams): Promise<{ addedCount: number; }>; //#endregion export { AddVoucherProductsParams, addVoucherProducts };