import { ReqChargingDeductionData, DeductionResponse } from "./ChargingDeduction";
import { TyExternalApiClient } from "../refs/nslib";
import { ChargingPileDal } from "./ChargingPileDal";
/**
 * 抵扣限制和抵扣处理
 * @date 2022-08-16 13:56:23
 * @author 侯洪莉
 */
declare class ChargingPileService {
    chargingPileDal: ChargingPileDal;
    tyExternalApiClient: TyExternalApiClient;
    /**
     * 抵扣方式限制判断
     * @param {*}  ReqChargingDeductionData
     * @返回值 resData：{PileRule,FreeData} PileRule：使用规则 FreeData:可免费金额和时长
     */
    getChargingLimit(param: ReqChargingDeductionData): Promise<DeductionResponse>;
    /**
     * 车辆类型修改和 充电桩抵扣
     * @param {Object} param  ReqChargingDeductionData
     * @param {FreeData,PileRule} freeData 可抵扣信息
  
     */
    discount(param: any, discountData: any): Promise<DeductionResponse<any>>;
    /**
    * 获取全局的限制情况
    * @param {Object} params
    * @param {Object} configRule 全局规则限制
    * @param {Object} parkInfo 停车信息
    *
    * @return {Int} canUse  可以使用额度 Infinity：表示不限额度
    */
    getConfigRuleLimit(params: any, configRule: any, parkInfo: any): Promise<{
        timeCanUse: number;
        moneyCanUse: number;
    }>;
    /**
     * 获取使用规则的限制情况
     * @param {Object} params
     * @param {Object} pileRule 使用规则限制
     * @param {Object} parkInfo 停车信息
     *
     * @return {Int} canUse  可以使用额度 Infinity：表示不限额度
     */
    getPileRuleLimit(params: any, pileRule: any, parkInfo: any): Promise<{
        timeCanUse: number;
        moneyCanUse: number;
    }>;
    /**
    * 统计充电桩抵扣使用情况
    */
    getPaymentCount(data: any): Promise<{
        count: number;
        time: number;
        money: number;
    }>;
}
export { ChargingPileService };
