import * as React from 'react'; import { type SceneShelfContextValue } from './context.js'; import type { SceneProductCardData, PriceData, ButtonFunctionType } from './types.js'; export interface SceneShelfSceneProps extends React.HTMLAttributes { /** 是否展示标签 */ showTags?: boolean; /** 是否展示原价 */ showOriginalPrice?: boolean; /** 语义化类名 */ classNames?: SceneShelfContextValue['classNames']; /** 产品选中状态变化回调 */ onSelectionChange?: (selectedProducts: SceneProductCardData[]) => void; /** 点击了解更多回调 */ onLearnMore?: (selectedProducts: SceneProductCardData[]) => void | Promise; /** 点击立即购买回调 */ onShopNow?: (selectedProducts: SceneProductCardData[]) => void | Promise; /** 点击添加到购物车回调 */ onAddToCart?: (selectedProducts: SceneProductCardData[]) => void | Promise; /** 主要按钮文本 */ primaryButtonText?: string; /** 主要按钮功能类型 */ primaryButtonFun?: ButtonFunctionType; /** 次要按钮文本 */ secondaryButtonText?: string; /** 次要按钮功能类型 */ secondaryButtonFun?: ButtonFunctionType; /** 总价标签 */ totalPriceLabel?: string; /** 当前总价 */ totalCurrentPrice?: PriceData; /** 原总价 */ totalOriginalPrice?: PriceData; /** 初始选中的产品列表(通过 defaultSelected 标记) */ products?: SceneProductCardData[]; /** 子组件 */ children: React.ReactNode; /** 默认选中策略 first|all|none */ defaultSelect?: 'first' | 'all' | 'none'; } /** * SceneShelf Scene 组件 * * @description 单个场景容器,提供 Context 配置和选择状态管理 */ declare const SceneShelfScene: React.ForwardRefExoticComponent>; export { SceneShelfScene };