import * as React from 'react'; import { type CreditsShelfContextValue } from './context.js'; export interface CreditsShelfRootProps extends React.HTMLAttributes { /** 主标题 */ title?: string; /** 副标题 */ subtitle?: string; /** 主题 */ theme?: 'light' | 'dark'; /** 文案配置 */ copy?: CreditsShelfContextValue['copy']; /** 是否展示标签 */ showTags?: boolean; /** 是否展示原价 */ showOriginalPrice?: boolean; /** 语义化类名 */ classNames?: CreditsShelfContextValue['classNames']; /** 次要按钮文案 */ secondaryButtonText?: string; /** 次要按钮功能 */ secondaryButtonFun?: CreditsShelfContextValue['secondaryButtonFun']; /** 主要按钮文案 */ primaryButtonText?: string; /** 主要按钮功能 */ primaryButtonFun?: CreditsShelfContextValue['primaryButtonFun']; /** 了解更多回调 */ onLearnMore?: CreditsShelfContextValue['onLearnMore']; /** 立即购买回调 */ onShopNow?: CreditsShelfContextValue['onShopNow']; /** 加入购物车回调 */ onAddToCart?: CreditsShelfContextValue['onAddToCart']; /** 产品图片点击回调 */ onProductImageClick?: CreditsShelfContextValue['onProductImageClick']; /** 子组件 */ children: React.ReactNode; } /** * CreditsShelf Root 组件 * * @description 组合式组件的容器,提供 Context 配置 */ declare const CreditsShelfRoot: React.ForwardRefExoticComponent>; export { CreditsShelfRoot };