import type { ICustomer, ISalesBooking, ISalesDetailHeader, ScanOrderSummary } from './types'; export interface SalesSdkDerivedDisabledEdit { disabledEdit: boolean; channelDisabledEdit: boolean; appointmentStatus: string; paymentStatus: string; } export declare function deriveDisabledEdit(rootBooking: ISalesBooking | null | undefined, header: ISalesDetailHeader | null | undefined): SalesSdkDerivedDisabledEdit; /** Footer / Payments 用的最小金额字段集合 */ export interface SalesSdkDerivedSummary { productAmount: string; productOriginalAmount: string; productExpectAmount: string; productTaxFee: string; taxFee: string; surchargeFee: string; discountAmount: string; depositAmount: string; expectAmount: string; totalAmount: string; amountGap: string; roundingAmount: string; } export declare function deriveSummary(summary: ScanOrderSummary | null | undefined): SalesSdkDerivedSummary; /** * 是否散客(walk-in customer),沿用 booking/utils.isWalkIn 语义: * 未指定客户、id === '' / '0' / '1' / 0 / 1 都视作散客。 */ export declare function isWalkInCustomer(customer: Pick | null | undefined): boolean;