/** * CLI Command: lex policy check * * Validates policy file syntax and optionally verifies modules match the codebase. * * Usage: * lex policy check # Validate policy syntax * lex policy check --match # Also verify modules match codebase * lex policy check --json # Output results as JSON */ export interface PolicyCheckOptions { /** Output results in JSON format */ json?: boolean; /** Verify modules match codebase structure */ match?: boolean; /** Custom policy file path */ policyPath?: string; /** Custom source directory for --match (default: "src") */ srcDir?: string; } export interface PolicyCheckResult { valid: boolean; moduleCount: number; errors: Array<{ path: string; message: string; code: string; }>; warnings: Array<{ path: string; message: string; code: string; }>; matchResults?: { orphanModules: string[]; unmappedDirs: string[]; }; } /** * Execute the 'lex policy check' command */ export declare function policyCheck(options?: PolicyCheckOptions): Promise;