import { OpResult } from "mslib";
import { DeployConfig, CloseDeployConfig } from '../refs/cm-models';
import { LoggerBuilder } from './LoggerBuilder';
/**
 * K8S服务部署
 * @date 2021-06-01 10:34:32
 * @author 吴锋霖
 */
declare class K8SDeployService {
    private k8sDeployParamBuilder;
    private k8sClientFactory;
    /**
     * 服务部署
     * @param deployConfig 部署配置
     * @param loggerBuilder 日志构建器
     */
    deploy(deployConfig: DeployConfig, loggerBuilder: LoggerBuilder): Promise<OpResult<any>>;
    /**
    * 关闭服务部署
    * @param deployConfig 部署配置
    * @param loggerBuilder 日志构建器
    */
    close(deployConfig: CloseDeployConfig, loggerBuilder: LoggerBuilder): Promise<OpResult<any>>;
    /**
     * 关闭其他旧的部署
     */
    private closeOldDeployment;
    private closePod;
}
export { K8SDeployService };
