import { PolicyV2 } from '@nihal1983/core'; import { Checker, PRContext, Violation } from '../types'; /** * CodeChecker validates code patterns and anti-patterns */ export declare class CodeChecker implements Checker { private policy; name: string; constructor(policy: PolicyV2); check(context: PRContext): Promise; /** * Check for anti-patterns in code */ private checkAntiPattern; /** * Get line number from character index */ private getLineNumber; /** * Get fix suggestion for specific anti-patterns */ private getSuggestionForAntiPattern; }