/**
 * Code Guardian Agent
 *
 * Agent spécialisé dans l'analyse de code source, la revue d'architecture,
 * la proposition de correctifs et l'amélioration progressive du projet.
 *
 * Modes de fonctionnement:
 * - ANALYZE_ONLY: Lecture et analyse uniquement
 * - SUGGEST_REFACTOR: Analyse + suggestions de refactoring
 * - PATCH_PLAN: Plan de modifications structurées
 * - PATCH_DIFF: Diffs prêts à appliquer
 */
import { SpecializedAgent, AgentTask, AgentResult } from '../types.js';
import type { CodeGuardianMode } from '../../../services/analysis/types.js';
export declare class CodeGuardianAgent extends SpecializedAgent {
    private currentMode;
    private analysisCache;
    private codeAnalyzer;
    constructor();
    initialize(): Promise<void>;
    setMode(mode: CodeGuardianMode): void;
    getMode(): CodeGuardianMode;
    getSupportedActions(): string[];
    getActionHelp(action: string): string;
    execute(task: AgentTask): Promise<AgentResult>;
    private analyzeFile;
    private analyzeFileContent;
    private analyzeDirectory;
    private collectFiles;
    private generateArchitectureSummary;
    private generateRecommendations;
    private suggestRefactor;
    private createPatchPlan;
    private createPatchDiff;
    private findIssues;
    private checkSecurity;
    private mapDependencies;
    private explainCode;
    private reviewArchitecture;
    private detectArchitecturalLayers;
}
export declare function getCodeGuardianAgent(): CodeGuardianAgent;
export declare function resetCodeGuardianAgent(): void;
