/**
 * 配置模块
 * @date 2022-03
 * @author 何华东
 */
/**
 * 共配置接口
 */
export interface Config {
    basicConfig: BasicConfig;
    uniteApiConfig: UniteApiConfig;
    nonStandardApiConfig?: NonStandardApiConfig;
    prestoClientConfig?: PrestoClientConfig;
    parkImageKnexConfig?: ParkImageKnexConfig;
}
/**
 * 基础配置
 */
export interface BasicConfig {
    /**
     * 中台项目id
     */
    projectId: string;
    /**
     * tapd id
     */
    tapdId: any;
}
/**
 * 统一API配置
 */
export interface UniteApiConfig {
    /**
     * 统一API根地址
     *
     * 默认按照配置的node环境自动配置
     */
    baseUrl?: string;
    /**
     * 统一API请求超时时间
     *
     * 默认为10秒
     */
    timeout?: number;
    /**
     * appId
     */
    appId: string;
    /**
     * appSecret
     */
    appSecret: string;
    /**
     * axios请求异常处理
     *
     * 默认将异常转为ApiError并抛出
     */
    axiosErrorHandler?: (error: any) => void;
}
/**
 * 非标API配置
 */
export interface NonStandardApiConfig {
    /**
     * 非标3des加解密配置
     */
    des3?: {
        key: string;
        iv: string;
    };
}
/**
 * 数据湖PrestoClient客户端配置
 */
export interface PrestoClientConfig {
    host: string;
    port: string;
    user: string;
}
/**
 * 车场镜像库knex配置
 */
export interface ParkImageKnexConfig {
    connection?: {
        host: string;
        port: number;
        user: string;
        password: string;
        database: string;
    };
}
export declare function getConfig(): Config;
export declare function getBasicConfig(): BasicConfig;
export declare function getUniteApiConfig(): UniteApiConfig;
export declare function getNonStandardApiConfig(): NonStandardApiConfig;
export declare function getPrestoClientConfig(): PrestoClientConfig;
export declare function getParkImageKnexConfig(): ParkImageKnexConfig;
