import React from 'react'; import type { SalesSdkBookingContextValue, SalesSdkCartContextValue, SalesSdkContextValue } from '../../../salesSdk'; import type { CartItemsInteractionPolicy } from '../CartItems'; import './BookingGroupView.less'; declare type CartItemsCartContext = Partial>; export interface SaleDetailBookingGroupViewContext { cart: CartItemsCartContext; sales?: SalesSdkContextValue; booking?: SalesSdkBookingContextValue; } export interface SaleDetailBookingGroupViewProps { context: SaleDetailBookingGroupViewContext; interactionPolicy?: CartItemsInteractionPolicy; showBookingItems?: boolean; variant?: string; className?: string; } /** * Template B Summary:仅 `cart.bookings` 按主商品分组展示; * `cart.items` 独立商品不在此组件内渲染,由外层固定在分组下方展示。 */ export declare function SaleDetailBookingGroupView({ className, context, interactionPolicy, showBookingItems, variant, }: SaleDetailBookingGroupViewProps): React.JSX.Element | null; export {};