import React from 'react';
import type { SalesSdkCartContextValue, SalesSdkContextValue } from '../../../salesSdk';
import './index.less';
/** 与 legacy shoppingCart Cart 一致：底部 alert 仅展示「满 X 件 Y 元」类促销 */
export declare const PROMOTION_ALERT_ACTION_TYPE = "X_ITEMS_FOR_Y_PRICE";
/**
 * 是否应展示底部促销条（与 PromotionAlert 渲染条件一致）。
 *
 * @example
 * hasVisiblePromotionAlert(cart);
 */
export declare function hasVisiblePromotionAlert(cart?: Pick<SalesSdkCartContextValue, 'unfulfilledPromotions'>): boolean;
interface PromotionAlertContext {
    cart: SalesSdkCartContextValue;
    sales?: SalesSdkContextValue;
}
export interface PromotionAlertProps {
    context: PromotionAlertContext;
    className?: string;
}
/**
 * 购物车未满足促销提示（两杯十元选 1 件时展示「Add N items for ... deal」）。
 *
 * @example
 * <PromotionAlert context={{ cart, sales }} />
 */
export declare const PromotionAlert: React.FC<PromotionAlertProps>;
export default PromotionAlert;
