import type { SalesSdkCartItemView, ScanOrderOrderProduct } from '../types'; /** * 判断购物车行是否为「一次性 / 自定义商品」。 * 自定义商品 `product_id` 为 null,或 metadata.origin 带 isCustomItem 标记。 * * @example * if (isCustomCartLine(orderLine, cartItemView)) { * // 跳过 transformDetailToProductAndBooking,直接 updateItem(uid) * } */ export declare function isCustomCartLine(orderLine: ScanOrderOrderProduct | null | undefined, item?: SalesSdkCartItemView | null): boolean;