/**
 * 统一对内接口模块
 * 收费系统6.X-统一对内接口（inner）.docx
 */
import { ApiRequestBase, ApiResponse } from './TYApiCommon';
import { AxiosResponse } from "axios";
/**
 * 统一对内接口客户端
 */
export default class InternalApiClient {
    /**
     * 2.4.6 在场车辆清理
     */
    carLeave(request: CarLeaveRequest): Promise<AxiosResponse<ApiResponse>>;
    /**
     * 3.1
     * 通道接口
     * 这是一个大类接口，子接口见ChannelApi
     */
    channelSend(request: ChannelSendReuqst): Promise<AxiosResponse<ApiResponse>>;
    /**
     * SQL通道查询单条数据
     */
    selectOne(request: SelectOneRequest): Promise<any>;
    /**
     * SQL通道查询多条数据
     */
    list(request: ListRequest): Promise<[]>;
    /**
     * SQL通道批量执行语句
     * @returns
     */
    execute(request: ExecuteRequest): Promise<any>;
}
export declare class CarLeaveRequest extends ApiRequestBase {
    readonly serviceCode: string;
    billId?: string;
    cardNo?: string;
    carNo?: string;
}
export declare class ChannelSendReuqst<T = any> extends ApiRequestBase {
    readonly serviceCode: string;
    cmd: string;
    data: T;
}
export declare class SelectOneRequest extends ApiRequestBase {
    readonly serviceCode: string;
    sql: string;
}
export declare class ListRequest extends ApiRequestBase {
    readonly serviceCode: string;
    sql: string;
}
export declare class ExecuteRequest extends ApiRequestBase {
    readonly serviceCode: string;
    sqlList: string[];
    /**
     * 是否开启事务,1是，0否
     */
    openTx: 1 | 0;
}
export { InternalApiClient };
