/**
 * Reviewer Agent
 *
 * Specialized agent for code review and quality assurance.
 * Responsible for:
 * - Reviewing code changes for quality
 * - Identifying bugs and potential issues
 * - Suggesting improvements
 * - Ensuring code follows best practices
 * - Security vulnerability detection
 */
import { BaseAgent } from "../base-agent.js";
import { AgentFeedback, SharedContext, ToolExecutor } from "../types.js";
import { CodeBuddyTool } from "../../../codebuddy/client.js";
export interface ReviewResult {
    approved: boolean;
    feedbackItems: AgentFeedback[];
    criticalIssues: number;
    majorIssues: number;
    minorIssues: number;
    summary: string;
}
export declare class ReviewerAgent extends BaseAgent {
    constructor(apiKey: string, baseURL?: string);
    getSpecializedPrompt(): string;
    /**
     * Review code changes
     */
    reviewCode(files: string[], context: SharedContext, tools: CodeBuddyTool[], executeTool: ToolExecutor): Promise<ReviewResult>;
    /**
     * Review a diff/patch
     */
    reviewDiff(diff: string, context: SharedContext, tools: CodeBuddyTool[], executeTool: ToolExecutor): Promise<ReviewResult>;
    /**
     * Security-focused review
     */
    securityReview(files: string[], context: SharedContext, tools: CodeBuddyTool[], executeTool: ToolExecutor): Promise<ReviewResult>;
    /**
     * Parse review result from agent output
     */
    private parseReviewResult;
    /**
     * Extract code locations from feedback message
     */
    private extractCodeLocations;
    /**
     * Format review result for display
     */
    formatReview(review: ReviewResult): string;
}
export declare function createReviewerAgent(apiKey: string, baseURL?: string): ReviewerAgent;
