/** * CI/CD integration utilities. */ import type { InterviewResult } from '../interview/types.js'; import type { BehavioralDiff, CICheckResult } from '../baseline/types.js'; /** * Exit codes for CI scripting. */ export declare const EXIT_CODES: { /** All checks passed */ readonly SUCCESS: 0; /** Behavioral drift or security issues detected */ readonly FAILURE: 1; /** Internal error during execution */ readonly ERROR: 2; }; /** * CI mode options. */ export interface CIModeOptions { /** Disable colors in output */ noColors?: boolean; /** Fail if behavioral drift detected */ failOnDrift?: boolean; /** Fail if security issues found */ failOnSecurity?: boolean; /** Minimum severity to fail on */ failOnSeverity?: 'info' | 'warning' | 'breaking'; /** Output format */ outputFormat?: 'text' | 'json'; /** Whether running in CI environment */ isCI?: boolean; } /** * Detect if running in a CI environment. */ export declare function detectCIEnvironment(): boolean; /** * Get CI environment details. */ export declare function getCIEnvironment(): { name: string; detected: boolean; runId?: string; branch?: string; commit?: string; }; /** * Evaluate CI check from interview result. */ export declare function evaluateInterviewResult(result: InterviewResult, options?: CIModeOptions): CICheckResult; /** * Evaluate CI check from behavioral diff. */ export declare function evaluateDiff(diff: BehavioralDiff, options?: CIModeOptions): CICheckResult; /** * Format CI output for console. */ export declare function formatCIOutput(checkResult: CICheckResult, options?: CIModeOptions): string; //# sourceMappingURL=index.d.ts.map