import { Tool } from '@modelcontextprotocol/sdk/types.js';
import { BaseToolHandler } from './base-handler.js';
import { LocalDebugEngine } from '../local-debug-engine.js';
import { APIKeyManager } from '../api-key-manager.js';
import { CloudAIService } from '../cloud-ai-service.js';
/**
 * Handler for core debugging tools
 */
export declare class CoreHandler extends BaseToolHandler {
    private localEngine;
    private apiKeyManager;
    private cloudAI;
    private browserProfiles;
    private static allBrowserProfiles;
    private static processListenersSetup;
    private performanceOrchestrator;
    private serverReadiness;
    private repairToolkit;
    private frameworkDetector;
    private circuitBreaker;
    private universalRecorder;
    tools: Tool[];
    constructor(localEngine: LocalDebugEngine, apiKeyManager: APIKeyManager, cloudAI: CloudAIService);
    handle(toolName: string, args: any, sessions: Map<string, any>): Promise<any>;
    private injectDebugging;
    /**
     * Execute inject debugging with optional post-repair optimization
     */
    private executeInjectDebuggingWithRepair;
    /**
     * Override getSession to support persistent sessions
     */
    protected getSessionAsync(sessionId: string, sessions: Map<string, any>): Promise<any>;
    private monitorRealtime;
    recordSessionVideo(args: any, sessions: Map<string, any>): Promise<any>;
    analyzeVideoFrames(args: any, sessions: Map<string, any>): Promise<any>;
    private extractVideoFrames;
    private performFrameAnalysis;
    private closeSession;
    private getSubscriptionInfo;
    /**
     * Create an isolated browser profile directory for this session
     */
    private createIsolatedBrowserProfile;
    /**
     * Cleanup all browser profiles created by this handler
     */
    private cleanupBrowserProfiles;
    /**
     * Cleanup all browser profiles from all handler instances (static cleanup)
     */
    private static cleanupAllBrowserProfiles;
    /**
     * List available tools organized by category
     */
    private listTools;
    private detectFrameworkQuick;
    private getMemorySavingsForFramework;
    private getLanguageFromFramework;
    private recordApplicationVideo;
    private recordScreenRegion;
    private recordVimWorkflow;
    private listRecordingSessions;
    private stopRecording;
    private getWorkflowProfile;
}
//# sourceMappingURL=core-handler.d.ts.map