/** * Debug Tool Handlers * * Handlers for debug and diagnostic tools: * - capture_screenshot * - export_har * - get_learning_stats (deprecated) * - get_learning_effectiveness (deprecated) * - debug_traces (with visualization support - F-009) */ import type { SmartBrowser } from '../../core/smart-browser.js'; import { type McpResponse } from '../response-formatters.js'; /** * Handle capture_screenshot tool call */ export declare function handleCaptureScreenshot(smartBrowser: SmartBrowser, args: { url: string; fullPage?: boolean; element?: string; waitForSelector?: string; sessionProfile?: string; width?: number; height?: number; }): Promise; /** * Handle export_har tool call */ export declare function handleExportHar(smartBrowser: SmartBrowser, args: { url: string; includeResponseBodies?: boolean; maxBodySize?: number; pageTitle?: string; waitForSelector?: string; sessionProfile?: string; }): Promise; /** * Handle get_learning_stats tool call (deprecated) */ export declare function handleGetLearningStats(smartBrowser: SmartBrowser): McpResponse; /** * Handle get_learning_effectiveness tool call (deprecated) */ export declare function handleGetLearningEffectiveness(smartBrowser: SmartBrowser): Promise; /** * Debug traces action types */ export type DebugTracesAction = 'list' | 'get' | 'stats' | 'configure' | 'export' | 'delete' | 'clear' | 'visualize' | 'compare'; /** * Handle debug_traces tool call */ export declare function handleDebugTraces(smartBrowser: SmartBrowser, action: DebugTracesAction, args: Record): Promise; //# sourceMappingURL=debug-handlers.d.ts.map