import type React from 'react';
import type { BaseResponsiveProps } from '../../responsive/type';
import type { ILoadProductsParams, SalesSdkBookingContextValue, SalesSdkCartContextValue, SalesSdkContextValue, SalesSdkCustomerContextValue, SalesSdkProductsContextValue, SalesSdkProviderProps, SalesSdkSummaryContextValue } from '../../plus/salesSdk';
import type { SaleDetailModuleConfig, SaleDetailOrderCompletePayload, SaleDetailTemplate } from '../../plus/saleDetail/types';
import type { TicketBookingSecondaryDisplayConfig } from '../ticketBooking/components/ticketBooking/useTicketBookingSecondaryScreen';
import type { ProductDisplayConfig, ProductDisplayPresetKey } from '../ticketBooking/components/ProductDisplayAdapter';
export declare type BigSaleMode = 'ticket' | 'retail';
export declare type BigSaleTemplate = 'standard' | 'secondaryScreen';
export interface BigSaleContext {
    sales: SalesSdkContextValue;
    products: SalesSdkProductsContextValue;
    customer: SalesSdkCustomerContextValue;
    cart: SalesSdkCartContextValue;
    summary: SalesSdkSummaryContextValue;
    booking: SalesSdkBookingContextValue;
}
export interface BigSaleBaseProps extends BaseResponsiveProps {
    /** 右侧 SaleDetail 信息区顶部栏（如 BigSaleDialog 订单号 + 关闭）。 */
    saleDetailHeaderSlot?: React.ReactNode;
    /** 全屏 loading 遮罩（如 BigSaleDialog 新建 seed 未就绪时）。 */
    overlaySlot?: React.ReactNode;
    mode?: BigSaleMode;
    tmpl?: BigSaleTemplate;
    template?: BigSaleTemplate;
    productLoadParams?: ILoadProductsParams;
    productDisplayConfig?: ProductDisplayPresetKey | ProductDisplayConfig;
    /** 弹窗 openNonce + 模式，用于强制刷新商品 catalog。 */
    productCatalogSessionKey?: string;
    saleDetailTemplate?: SaleDetailTemplate;
    saleDetailModuleConfig?: SaleDetailModuleConfig;
    autoCreate?: boolean;
    orderId?: SalesSdkProviderProps['orderId'];
    locale?: string;
    /** 副屏场景下包裹 saleDetail 区域的额外属性（缩放、连点手势等） */
    saleDetailWrapperProps?: React.HTMLAttributes<HTMLDivElement> & {
        id?: string;
    };
    /** 副屏购物车每行展示几个商品；未传或 <=1 时保持单列 */
    cartProductsPerRow?: number;
    /** 是否在 SaleDetail 中渲染客户信息（默认 true） */
    showClient?: boolean;
    /** 保存 / 结账成功后回调（BigSaleDialog 用于关闭弹窗）。 */
    onOrderComplete?: (payload: SaleDetailOrderCompletePayload) => void;
}
export interface BigSaleProps extends Omit<SalesSdkProviderProps, 'children' | 'osKey'>, Pick<BigSaleBaseProps, 'className' | 'style' | 'mode' | 'tmpl' | 'template' | 'productLoadParams' | 'productDisplayConfig' | 'productCatalogSessionKey' | 'saleDetailTemplate' | 'saleDetailModuleConfig' | 'autoCreate'> {
    osKey?: SalesSdkProviderProps['osKey'];
    secondaryScreenDisplay?: TicketBookingSecondaryDisplayConfig;
    /** SalesSdk 挂载后的 bootstrap 逻辑（如 BigSaleDialog 的 create/load seed）。 */
    bootstrapSlot?: React.ReactNode;
    saleDetailHeaderSlot?: React.ReactNode;
    overlaySlot?: React.ReactNode;
    onOrderComplete?: (payload: SaleDetailOrderCompletePayload) => void;
}
export interface BigSaleTemplateRendererProps {
    context: BigSaleContext;
    mode: BigSaleMode;
    tmpl?: BigSaleTemplate;
    variant: string;
    productLoadParams?: ILoadProductsParams;
    productDisplayConfig?: ProductDisplayPresetKey | ProductDisplayConfig;
    productCatalogSessionKey?: string;
    saleDetailTemplate?: SaleDetailTemplate;
    saleDetailModuleConfig?: SaleDetailModuleConfig;
    orderId?: SalesSdkProviderProps['orderId'];
    locale?: string;
    /** 仅 secondaryScreen 模板会消费；标准模板忽略 */
    saleDetailWrapperProps?: React.HTMLAttributes<HTMLDivElement> & {
        id?: string;
    };
    /** 右侧 SaleDetail 信息区顶部栏 */
    saleDetailHeaderSlot?: React.ReactNode;
    onOrderComplete?: (payload: SaleDetailOrderCompletePayload) => void;
}
export declare type BigSaleTemplateProps = Omit<BigSaleTemplateRendererProps, 'tmpl'>;
