/** * AI Feedback Tool Handlers * * Handlers for the ai_feedback MCP tool that allows AI users to report * issues with browsing quality, accuracy, and performance. */ import type { SmartBrowser } from '../../core/smart-browser.js'; import type { FeedbackCategory, FeedbackSentiment } from '../../types/feedback.js'; import { type McpResponse } from '../response-formatters.js'; /** * Feedback action types */ export type FeedbackAction = 'submit' | 'list' | 'stats' | 'anomalies'; /** * Arguments for ai_feedback tool */ export interface AiFeedbackArgs { action: FeedbackAction; category?: FeedbackCategory; sentiment?: FeedbackSentiment; subtype?: string; severity?: string; url?: string; domain?: string; message?: string; expectedBehavior?: string; actualBehavior?: string; patternId?: string; skillId?: string; requestId?: string; suggestedAction?: string; contentSnippet?: string; errorMessage?: string; responseTime?: number; statusCode?: number; limit?: number; offset?: number; filterCategory?: FeedbackCategory; filterSentiment?: FeedbackSentiment; periodHours?: number; } /** * Handle ai_feedback tool call */ export declare function handleAiFeedback(smartBrowser: SmartBrowser, action: FeedbackAction, args: AiFeedbackArgs, sessionId: string): Promise; //# sourceMappingURL=feedback-handlers.d.ts.map