/**
 * 统一对内接口模块
 * 收费系统6.X-统一对内接口（inner）.docx
 * @date 2022-03
 * @author 何华东
 */
import { ApiRequestBase, ApiResponse } from './TyApiCommon';
/**
 * 统一对内接口客户端
 */
export default class TyInternalApiClient {
    /**
     * 2.4.6 在场车辆清理
     */
    carLeave(request: CarLeaveRequest): Promise<ApiResponse>;
    /**
     * 2.13.2 重新统计汇总报表
     */
    reStatistics(request: ReStatisticsRequest): Promise<ApiResponse>;
    /**
     * MQ透传接口
     */
    msgToLocal(request: MsgToLocalReuqest, url: string): Promise<ApiResponse<string>>;
    /**
     * 3.1
     * 通道接口
     * 这是一个大类接口，子接口见ChannelApi
     */
    channelSend(request: ChannelSendReuqst): Promise<ApiResponse>;
    /**
     * SQL通道查询单条数据
     */
    selectOne(request: SelectOneRequest): Promise<any>;
    /**
     * SQL通道查询多条数据
     */
    list(request: ListRequest): Promise<[]>;
    /**
     * SQL通道批量执行语句
     * @returns
     */
    execute(request: ExecuteRequest): Promise<ApiResponse>;
}
export declare class GetNodeStatusListRequest extends ApiRequestBase {
    /**
     * 通道类型 默认全部,1进口,2出口,3中间入口,4中间出口
     */
    nodeType?: number;
}
export declare class CarLeaveRequest extends ApiRequestBase {
    billId?: string;
    cardNo?: string;
    carNo?: string;
}
export declare class ReStatisticsRequest extends ApiRequestBase {
    readonly serviceCode = "InnerReStatistics";
    /**
     * 开始时间(yyyy-MM-dd)
     */
    startDate: string;
    /**
     * 截止时间(yyyy-MM-dd)
     */
    endDate: string;
    remark: string;
    /**
     * 是否延迟汇总(第二天执行汇总任务)，默认是
     */
    isDelay?: boolean;
    /**
     * 统计类型，1：收入日报，2：车流日报，3：全部统计
     */
    statisticType: 1 | 2 | 3;
}
export declare class ChannelSendReuqst<T = any> extends ApiRequestBase {
    cmd: string;
    data: T;
}
export declare class MsgToLocalReuqest extends ApiRequestBase {
}
export declare class SelectOneRequest extends ApiRequestBase {
    sql: string;
}
export declare class ListRequest extends ApiRequestBase {
    sql: string;
}
export declare class ExecuteRequest extends ApiRequestBase {
    sqlList: string[];
    /**
     * 是否开启事务,1是，0否
     */
    openTx?: 1 | 0;
}
export { TyInternalApiClient };
