/**
 * AI Feedback Cloud Handler - Remote Collection API
 *
 * Provides cloud-based feedback collection API endpoints for remote AI-Debug users
 * to submit feedback from distributed systems with privacy-preserving aggregation.
 */
import { BaseHandler } from './base-handler.js';
import { Tool } from '@modelcontextprotocol/sdk/types.js';
import { AIFeedbackEntry } from '../utils/ai-feedback-collector.js';
export interface CloudFeedbackBatch {
    batchId: string;
    timestamp: number;
    sourceSystem: string;
    userIdHash?: string;
    feedbackEntries: Partial<AIFeedbackEntry>[];
    metadata: {
        version: string;
        systemType: 'local' | 'cloud' | 'enterprise';
        anonymized: boolean;
        region?: string;
    };
}
export interface CloudFeedbackValidation {
    isValid: boolean;
    errors: string[];
    warnings: string[];
    sanitizedEntries: Partial<AIFeedbackEntry>[];
}
/**
 * Cloud Feedback Collection Handler for Remote AI-Debug Users
 */
export declare class AIFeedbackCloudHandler extends BaseHandler {
    private feedbackCollector;
    private logger;
    private batchQueue;
    private processedBatches;
    constructor();
    tools: Tool[];
    handle(toolName: string, args: any): Promise<any>;
    /**
     * Upload a batch of feedback from remote users
     */
    private uploadFeedbackBatch;
    /**
     * Validate feedback batch for quality and privacy
     */
    private validateFeedbackBatch;
    /**
     * Get cloud collection system status
     */
    private getCloudCollectionStatus;
    /**
     * Process feedback batches in queue
     */
    private processFeedbackQueue;
    /**
     * Export aggregated cloud feedback data
     */
    private exportCloudFeedback;
    /**
     * Configure cloud collection settings
     */
    private configureCloudCollection;
    private generateBatchId;
    private hashUserId;
    private sanitizeFeedbackEntry;
    private sanitizeRating;
    private sanitizeTextArray;
    private sanitizeText;
    private sanitizeSessionId;
    private sanitizeAgentType;
    private sanitizeComplexity;
    private processBatch;
}
//# sourceMappingURL=ai-feedback-cloud-handler.d.ts.map