/**
 * Phase 4 Pipeline — Stage 4: Infrastructure Adapter Generator
 *
 * Generates infrastructure adapters that bridge DDD port interfaces to ERP
 * and database clients. One adapter is produced per port file found in the
 * Phase 3 project output. Also generates shared connection pool, IAM helper,
 * and telemetry wrapper files.
 *
 * Supported languages:
 *   typescript  — class implementing the port interface
 *   rust        — struct implementing the port trait
 *
 * Error codes:
 *   ECLI-P4-004  Adapter file write failure
 */
import type { Phase4Context, Phase4StageOutput } from '../types.js';
/**
 * Stage 4: Generate infrastructure adapters for all seam port interfaces.
 *
 * For each bounded context in the Phase 2 domain model, discovers port files
 * in the Phase 3 project output and generates a corresponding adapter file.
 * Also generates shared infrastructure files:
 *   - telemetry.ts / telemetry_wrapper.rs  (self-contained, no pipeline refs)
 *   - clients.ts                           (DbClient, ErpClient, AdapterError)
 *   - connection-pool.ts / connection_pool.rs
 *   - iam-helper.ts / iam_helper.rs
 *
 * @param context - The Phase 4 pipeline context
 * @returns Stage output describing success or failure
 */
export declare function generateInfraAdapters(context: Phase4Context): Phase4StageOutput;
//# sourceMappingURL=infra-adapter-generator.d.ts.map