import { CollapseProps } from 'antd';
export interface productProps {
    hideAddBtn?: boolean;
    isShowNote?: boolean;
    isShowPackageNote?: boolean;
    products?: any[];
    holders?: any[];
    isEdit?: boolean;
    disabledEdit?: boolean;
    isShowChangeResource?: boolean;
    isShowDelete?: boolean;
    isShowChangeHolder?: boolean;
    isShowHolder?: boolean;
    isShowAddHolderButton?: boolean;
    /** 购物车商品一行展示几个（>=1），用于副屏等场景多列排布 */
    productsPerRow?: number;
}
interface cartInfoProps {
    promotions?: any[];
    isShowPromotionAlert?: boolean;
}
export interface shoppingCartProps {
    isOpenGroup?: boolean;
    carts?: any[];
    platform?: 'shop' | 'h5';
    emptyText?: string;
    activeKey?: string[] | number[];
    defaultActiveKey?: string[] | number[];
    className?: string;
    onCard?: (e: any) => void;
    onAction?: (e: any) => void;
    onChange?: (items: any, type?: string, other?: any) => void;
    onAddProduct?: (e?: any) => void;
    onActiveKey?: (e: any) => void;
    isShowImage?: boolean;
    isShowHolder?: boolean;
    isShowDelete?: boolean;
    isShowAmountFooter?: boolean;
    collapseParams?: CollapseProps;
    productParams?: productProps;
    isHideClearCart?: boolean;
    isParallelResource?: boolean;
    scenario?: 'booking2';
    cartInfo?: cartInfoProps;
}
/**
 * @title: 商品卡片
 * @description:
 * @return {*}
 * @Author: WangHan
 * @Date: 2024-11-29 09:52
 */
export interface ProductProps {
    id?: any;
    lists: any[];
    isAdd?: boolean;
    openPromotionModal?: (products: any[]) => void;
    promotionProducts?: any[];
    isShowPromotionAlert?: boolean;
}
export {};
