export declare const DetectorJenkinsMensagens: {
    readonly missingTimeout: "管道或阶段未配置超时";
    readonly missingTimeoutSugestao: "请添加 \"options { timeout(time: 30, unit: 'MINUTES') }\" 块以防止僵尸作业";
    readonly missingCleanup: "post-build中未检测到工作空间清理（cleanWs）";
    readonly missingCleanupSugestao: "请在post { always { ... } } 块中使用 \"cleanWs()\" 以防止代理磁盘问题";
    readonly optimizationParallel: (stageCount: number) => string;
    readonly optimizationParallelSugestao: "请考虑使用 \"parallel\" 块同时执行独立的测试或构建";
    readonly semAgent: "声明式管道未定义agent块";
    readonly semAgentSugestao: "请添加 agent { label '...' } 或 agent any 来定义管道执行位置";
    readonly semPost: "管道缺少用于执行后操作的post块";
    readonly semPostSugestao: "请添加 post { always { cleanWs() } } 以清理工作空间";
    readonly poucosStages: "管道仅定义了1个阶段";
    readonly poucosStagesSugestao: "请将管道划分为多个阶段（例如：Build, Test, Deploy）";
    readonly pipelineIncompleto: (missingStages: string) => string;
    readonly pipelineIncompletoSugestao: "请考虑添加单独的构建、测试和部署阶段";
    readonly semTools: "管道缺少定义工具（JDK, Maven, Node）的tools块";
    readonly semToolsSugestao: "请添加 tools { nodejs 'NodeJS' } 或 tools { jdk 'JDK17' }";
    readonly dangerousSudo: "检测到在shell命令中使用sudo";
    readonly dangerousSugestao: "请在Jenkins代理中配置权限或使用Docker容器以避免需要sudo";
    readonly dockerLatest: "检测到Docker代理使用:latest镜像";
    readonly dockerLatestSugestao: "请使用固定版本标签以确保构建可重现";
    readonly hardcodedSecrets: "检测到潜在的硬编码密钥";
    readonly hardcodedSecretsSugestao: "请使用Jenkins的credentials('ID')函数安全地注入密钥";
};
//# sourceMappingURL=detector-jenkins-messages.d.ts.map