import type { BaseResponsiveProps } from '../../responsive/type'; import type { SalesSdkCartContextValue, SalesSdkBookingContextValue, SalesSdkContextValue, SalesSdkCustomerContextValue, SalesSdkProviderProps, SalesSdkSummaryContextValue } from '../salesSdk'; export declare type SaleDetailRenderType = 'current' | 'modal' | 'drawer'; export declare type SaleDetailTemplate = 'A' | 'B'; export declare type SaleDetailMobilePresentation = 'inline' | 'bottomSheet'; export declare type SaleDetailModuleKey = 'overview' | 'customer' | 'contact' | 'orderNote' | 'cartItems' | 'cartActions' | 'amountDetails' | 'orderActions'; export interface SaleDetailModuleConfig { hidden?: SaleDetailModuleKey[]; amountDetails?: { defaultExpanded?: boolean; }; } export interface SaleDetailContext { sales: SalesSdkContextValue; customer: SalesSdkCustomerContextValue; cart: SalesSdkCartContextValue; summary: SalesSdkSummaryContextValue; booking?: SalesSdkBookingContextValue; } interface SaleDetailBaseProps extends BaseResponsiveProps { context?: SaleDetailContext; tmpl?: SaleDetailTemplate; template?: SaleDetailTemplate; moduleConfig?: SaleDetailModuleConfig; mobilePresentation?: SaleDetailMobilePresentation; } export interface SaleDetailSdkProviderProps { osProps: Pick; } export declare type SaleDetailBaseComponentProps = SaleDetailBaseProps & ({ renderType?: 'current'; containerProps?: never; } | { renderType: Exclude; containerProps: Record; }); export declare type SaleDetailProps = SaleDetailBaseComponentProps & SaleDetailSdkProviderProps; export interface SaleDetailBlockProps { dataSource: TDisplayData; className?: string; } export {};