/**
 * Phase 5 Build — Stage 4: Integration Injection
 *
 * Copies selected integration module code from the repo cache into the
 * generated project directory. Generates barrel exports and a manifest
 * describing which integrations were injected and why.
 *
 * Reads the integration inference result from the previous stage output.
 * Resolves each module's path in ~/.agentics/repo-cache/integrations/.
 *
 * For TypeScript projects: copies `src/` directory from each module.
 * For Rust projects: copies rust variant if available, falls back to TS.
 *
 * Error codes:
 *   ECLI-P5B-040  Integration injection failed
 *   ECLI-P5B-041  Integration module not found in repo cache
 */
import type { Phase5BuildContext, IntegrationInferenceResult, IntegrationInjectionResult } from '../types.js';
/**
 * Stage 4: Copy selected integration modules into the generated project.
 *
 * @param context - The Phase 5 Build pipeline context
 * @param inferenceResult - The result from the integration inference stage
 * @param language - The resolved implementation language ('typescript' | 'rust')
 * @param codegenDir - The codegen project directory (phase5/codegen/)
 * @returns Injection result
 */
export declare function injectIntegrations(context: Phase5BuildContext, inferenceResult: IntegrationInferenceResult, language: string, codegenDir: string): {
    stageOutput: {
        stage: 'integration-injection';
        status: 'completed' | 'failed';
        data: IntegrationInjectionResult;
        artifacts: string[];
        timing: number;
        summary: string;
    };
};
//# sourceMappingURL=integration-injector.d.ts.map