/**
 * Phase 5 — Stage 4: Deployment Finalization
 *
 * Generates production-ready deployment scripts:
 * - deploy.sh (gcloud CLI commands)
 * - teardown.sh (cleanup script)
 * - env.template (Secret Manager references)
 * - vpc-setup.sh (VPC connector for ERP network)
 * - monitoring.yaml (Cloud Monitoring alert policies)
 *
 * References infra repo patterns for IAM/networking.
 * References integrations repo for webhook/event patterns.
 */
import type { Phase5Context, Phase5StageOutput } from '../types.js';
/**
 * Stage 4: Generate production-ready deployment scripts.
 *
 * Creates the `phase5/deploy/` directory and generates five deployment
 * artifacts:
 *
 * 1. **deploy.sh** - Primary gcloud CLI deployment script with VPC connector,
 *    Secret Manager references, least-privilege service account, and
 *    internal-only ingress.
 *
 * 2. **teardown.sh** - Reverse of deploy.sh: deletes Cloud Run service,
 *    container images, and IAM bindings.
 *
 * 3. **env.template** - Environment variable template with Secret Manager
 *    reference format for all production secrets.
 *
 * 4. **vpc-setup.sh** - Creates the Serverless VPC Access connector for
 *    ERP network connectivity. References infra repo patterns if cached.
 *
 * 5. **monitoring.yaml** - Cloud Monitoring alert policies for error rate,
 *    latency, instance count, and SAP connectivity.
 *
 * @param context - The mutable Phase 5 pipeline context
 * @returns Stage output describing success or failure
 */
export declare function finalizeDeployment(context: Phase5Context): Phase5StageOutput;
//# sourceMappingURL=deployment-finalizer.d.ts.map