import React from 'react';
import type { SalesSdkBookingContextValue, SalesSdkCartContextValue, SalesSdkContextValue } from '../../../../salesSdk';
import type { SaleDetailCartItemsLayoutConfig } from '../../../types';
import './index.less';
declare type CartItemsCartContext = Partial<Pick<SalesSdkCartContextValue, 'bookings' | 'items' | 'removeItem' | 'editCartLine' | 'updateItemQuantity' | 'selectGiftForItem'>>;
interface CartItemsContext {
    cart: CartItemsCartContext;
    sales?: SalesSdkContextValue;
    booking?: SalesSdkBookingContextValue;
}
declare type CartItemCardAction = 'edit' | 'none' | ((item: any) => void | Promise<void>);
export interface CartItemsInteractionPolicy {
    cardAction?: CartItemCardAction;
    disabledEdit?: boolean;
    isShowDelete?: boolean;
    isShowRightActions?: boolean;
}
interface CartItemsProps {
    context: CartItemsContext;
    sales?: SalesSdkContextValue;
    className?: string;
    /** 标准布局配置，默认单列；columns > 1 时切为多列布局 */
    layout?: SaleDetailCartItemsLayoutConfig;
    showEmpty?: boolean;
    emptyText?: React.ReactNode;
    interactionPolicy?: CartItemsInteractionPolicy;
}
export declare function CartItems({ context, sales, className, layout, showEmpty, emptyText, interactionPolicy, }: CartItemsProps): React.JSX.Element;
export {};
