/**
 * Enhanced Sub-Agent Handler
 *
 * Demonstrates how to elegantly integrate automatic sub-agent delegation
 * into debugging handlers with intelligent fallback mechanisms.
 */
import { Tool } from '@modelcontextprotocol/sdk/types.js';
import { BaseToolHandler } from './base-handler.js';
/**
 * Enhanced handler that automatically uses sub-agents when available
 * with elegant fallback to direct tool execution
 */
export declare class EnhancedSubAgentHandler extends BaseToolHandler {
    private logger;
    constructor();
    tools: Tool[];
    /**
     * Setup automatic delegation for existing methods
     */
    private setupAutoDelegation;
    handle(toolName: string, args: any, sessions: Map<string, any>): Promise<any>;
    /**
     * Smart debugging with automatic sub-agent delegation
     */
    private smartDebug;
    /**
     * Auto audit with intelligent sub-agent selection
     */
    private autoAudit;
    /**
     * Intelligent error analysis with specialized sub-agent
     */
    private intelligentErrorAnalysis;
    /**
     * Get sub-agent status and delegation statistics
     */
    private getSubAgentStatus;
    /**
     * Direct debugging fallback implementation
     */
    private executeDirectDebugging;
    /**
     * Direct audit fallback implementation
     */
    private executeDirectAudit;
    /**
     * Direct error analysis fallback implementation
     */
    private executeDirectErrorAnalysis;
}
//# sourceMappingURL=enhanced-sub-agent-handler.d.ts.map