/** * Bug Report AI Agent * * Automatically analyzes bug report submissions and generates: * - Summary of the bug * - Root cause analysis * - Reproduction steps * - Suggested fix * - Estimated effort (low/medium/high) * - Suggested severity (low/medium/high/critical) * * Triggers email notifications to the reporter and assigned team. */ /** * Get bug report by ID for analysis */ export declare const getBugReportForAnalysis: import("convex/server").RegisteredQuery<"internal", { bugReportId: import("convex/values").GenericId<"bugReports">; }, Promise<{ _id: import("convex/values").GenericId<"bugReports">; title: string; description: string; severity: "low" | "medium" | "high" | "critical"; reporterName: string; reporterEmail: string; url: string; browserInfo: string; consoleErrors: string; }>>; /** * Analyze bug report using AI and send notifications. * This is the main entry point triggered after bug report creation. */ export declare const processBugReport: import("convex/server").RegisteredAction<"internal", { openRouterApiKey?: string; resendApiKey?: string; resendFromEmail?: string; bugReportId: import("convex/values").GenericId<"bugReports">; }, Promise<{ success: boolean; error?: string; }>>; /** * Public wrapper for processBugReport that can be called from parent app. * Accepts optional API keys since Convex components don't inherit parent env vars. */ export declare const processBugReportPublic: import("convex/server").RegisteredAction<"public", { openRouterApiKey?: string; resendApiKey?: string; resendFromEmail?: string; bugReportId: import("convex/values").GenericId<"bugReports">; }, Promise<{ success: boolean; error?: string; }>>; //# sourceMappingURL=bugReportAgent.d.ts.map