export interface SalesSummaryProduct {
    product_id: number | null;
    product_variant_id: number;
    num: number;
    /** 券后单品单价（订单域成交单价），由 OrderModule 维护。 */
    selling_price: string;
    /** 券前单品单价（店铺售价）。 */
    original_price: string;
    tax_fee: string;
    is_charge_tax?: number;
    product_option_item?: any[];
    discount_list?: any[];
    product_bundle?: any[];
    metadata?: Record<string, any>;
    _origin?: Record<string, any>;
}
export interface DepositPolicyData {
    id: number;
    title: string;
}
export interface DepositInfo {
    total: string;
    deposit_policy_ids: number[];
    deposit_policy_data: DepositPolicyData[];
    hasDeposit: boolean;
}
export interface SalesSummaryData {
    product_quantity: number;
    product_original_amount: string;
    product_amount: string;
    product_expect_amount: string;
    product_tax_fee: string;
    shipping_fee: string;
    shipping_tax_fee: string;
    tax_fee: string;
    surcharge_fee: string;
    surcharges: any[];
    discount_amount: string;
    deposit_amount: string;
    deposit?: DepositInfo;
    expect_amount: string;
    total_amount: string;
    total_refund_amount: string;
    customer_paid_amount: string;
    order_paid_amount: string;
    amount_gap: string;
    rounding_amount: string;
    pay_service_charge_amount: string;
    is_price_include_tax?: number;
    tax_title?: string;
    tax_rate?: number;
}
export interface SalesSummaryState {
    surchargeList: any[];
    summary: SalesSummaryData;
}
export interface SalesSummaryModuleAPI {
    getSummary(params: {
        products: SalesSummaryProduct[];
        isPriceIncludeTax?: number;
        taxRate?: number;
        shopDiscount?: string | number;
    }): Promise<SalesSummaryData>;
}
