import { DeploymentParam, PVCParam, ServiceParam } from '../refs/k8s-api';
import { LoggerBuilder } from './LoggerBuilder';
import { DeployConfig } from '../refs/cm-models';
import { OpResult } from "mslib";
export declare class K8SDeployParamBuilder {
    private configClient;
    private sysBasicCache;
    private k8sClientFactory;
    private ktMeHosts;
    /**
     * 构建K8S部署参数
     * @param deployConfig 基础服务部署配置信息
     * @param logloggerBuilder 日志构建器，用于管理后台显示部署日志详情
     */
    build(deployConfig: DeployConfig, loggerBuilder: LoggerBuilder): Promise<OpResult<any>>;
    buildAppName(appType: string, name: string): string;
    private generateRandom;
    private s4;
    /**
     * 解析获取应用选项配置信息
     */
    private acquireAppOptionsConfig;
    /**
     * 获取环境变量信息
     */
    private acquireEnvs;
    /**
     * 从配置中心获取配置
     * @param deployConfig 部署配置
     * @param
     */
    private acquireConfigs;
    private getConfigServerUrl;
    /**
     * 端口号配置解析
     * @param
     */
    private parseServicePorts;
    /**
     * 端口号配置解析
     * @param
     */
    private parsePorts;
    private getRangePorts;
}
export interface BuildResult {
    deployParams?: Array<PodDeployParam>;
    serviceParam?: ServiceParam;
}
export interface PodDeployParam {
    pvcParam?: PVCParam;
    deployParam?: DeploymentParam;
}
