import { AxiosInstance, AxiosRequestConfig } from "axios";
import { ApiResponse } from "./Dto";
export declare type Options = {
    url: string;
    /**
     * 是否加密
     */
    secure?: boolean;
    key?: string;
    iv?: string;
    /**
     * 默认1.0.0
     */
    version?: string;
    timeout?: number;
};
/**
 * 非标接口客户端
 */
export declare class ApiClient {
    readonly axiosInstance: AxiosInstance;
    constructor(opts: Options);
    post<T = any, D = any>(url: string, data?: D, config?: AxiosRequestConfig & {
        apiDesc?: string;
    }): Promise<ApiResponse<T>>;
}
