/** * @interface CiCdConfig * @description Configuration for the CI/CD Pipeline. */ export interface CiCdConfig { environment: 'development' | 'staging' | 'production'; testCoverageThreshold: number; } /** * @interface CiCdOperations * @description Defines operations for automated CI/CD pipelines. */ export interface CiCdOperations { runPipeline(): Promise; runAutomatedTests(): Promise; performCodeQualityChecks(): Promise; deployApplication(targetEnvironment: 'staging' | 'production'): Promise; rollbackDeployment(environment: 'staging' | 'production', version: string): Promise; manageFeatureFlag(flagName: string, enable: boolean): Promise; } /** * @class CiCdPipeline * @description Implements automated CI/CD pipelines for testing, building, and deploying Gemini-Flow. */ export declare class CiCdPipeline implements CiCdOperations { private config; private logger; constructor(config: CiCdConfig); /** * Runs the complete CI/CD pipeline. * @returns {Promise} */ runPipeline(): Promise; /** * Runs automated tests (unit, integration, performance). * @returns {Promise} True if tests pass, false otherwise. */ runAutomatedTests(): Promise; /** * Performs code quality checks and security scanning. * @returns {Promise} True if checks pass, false otherwise. */ performCodeQualityChecks(): Promise; /** * Deploys the application to a target environment. * @param {'staging' | 'production'} targetEnvironment The environment to deploy to. * @returns {Promise} */ deployApplication(targetEnvironment: 'staging' | 'production'): Promise; /** * Rolls back a deployment to a previous version. * @param {'staging' | 'production'} environment The environment to rollback. * @param {string} version The version to rollback to. * @returns {Promise} */ rollbackDeployment(environment: 'staging' | 'production', version: string): Promise; /** * Manages feature flags for gradual rollouts. * @param {string} flagName The name of the feature flag. * @param {boolean} enable Whether to enable or disable the flag. * @returns {Promise} */ manageFeatureFlag(flagName: string, enable: boolean): Promise; } //# sourceMappingURL=ci-cd-pipeline.d.ts.map