/** * Check Command - drift check * * Check for violations against approved patterns. * * MIGRATION: Now uses IPatternService for pattern operations. * * @requirements 29.3 */ import { Command } from 'commander'; import type { Violation } from 'driftdetect-core'; export interface CheckOptions { /** Check only staged files */ staged?: boolean; /** Run in CI mode */ ci?: boolean; /** Output format */ format?: 'text' | 'json' | 'github' | 'gitlab'; /** Fail threshold (error, warning, none) */ failOn?: 'error' | 'warning' | 'none'; /** Enable verbose output */ verbose?: boolean; } export interface CheckResult { /** Number of violations */ violationCount: number; /** Number of errors */ errorCount: number; /** Number of warnings */ warningCount: number; /** Exit code */ exitCode: number; /** Violations found */ violations: Violation[]; } /** * Determine exit code based on violations and threshold */ export declare function getExitCode(violations: Violation[], failOn: 'error' | 'warning' | 'none'): number; export declare const checkCommand: Command; //# sourceMappingURL=check.d.ts.map