import React from 'react';
import type { SalesSdkCartContextValue, SalesSdkCartItemView } from '../../types';
export interface CartPanelProps {
    cart: SalesSdkCartContextValue;
    /** 详情 Tab 走 readOnly：不渲染 remove / 编辑资源 按钮 */
    readOnly?: boolean;
    onRemoveError?: (err: unknown) => void;
    onRemoveSuccess?: (item: SalesSdkCartItemView) => void;
    /** 行级「编辑资源」失败时的回调 */
    onEditBookingError?: (err: unknown) => void;
}
export declare const CartPanel: React.FC<CartPanelProps>;
