/** * Governance injection orchestrator (FR-28). * * Main entry point for governance enforcement injection during `sevo init`. * Detects the host environment, selects the appropriate adapter, * injects SEVO governance rules, and reports results. */ import type { HostAdapter } from '../cli/cmd-init.js'; import type { GovernanceAdapter, GovernanceInjectionResult } from './adapter.js'; /** Options for governance injection. */ export interface GovernanceInjectOptions { /** Project root directory. */ projectRoot: string; /** Detected host adapter type. */ hostAdapter: HostAdapter; /** Whether governance is enabled (AC-28.8). */ enabled?: boolean; } /** * Select the appropriate GovernanceAdapter based on host environment. */ export declare function selectAdapter(projectRoot: string, hostAdapter: HostAdapter): GovernanceAdapter; /** * Inject SEVO governance rules into the host environment. * * This is the main function called by `sevo init` (AC-28.11). * It is idempotent (AC-28.9) — repeated calls do not duplicate rules. * * @returns Injection result with summary for CLI output (AC-28.7). */ export declare function injectGovernance(options: GovernanceInjectOptions): GovernanceInjectionResult; /** * Print governance injection status to console (AC-28.7). */ export declare function printGovernanceStatus(result: GovernanceInjectionResult): void; //# sourceMappingURL=inject.d.ts.map