/**
 * Performance Expert
 *
 * Cross-domain expert for analyzing performance issues:
 * - Jank/scroll performance
 * - App startup latency
 * - Click response time
 * - Frame drops
 *
 * Analysis strategy:
 * 1. Classify intent (jank/scroll/startup/latency)
 * 2. Query relevant entry modules
 * 3. Follow suggestions to drill down
 * 4. Build and verify hypotheses
 * 5. Synthesize conclusion with root cause
 */
import { BaseCrossDomainExpert } from '../baseCrossDomainExpert';
import { CrossDomainExpertConfig, CrossDomainInput, ModuleQuery, ModuleResponse, AnalysisDecision, ExpertConclusion, DialogueContext } from '../types';
import { DialogueSession } from '../dialogueProtocol';
/**
 * PerformanceExpert - Analyzes performance issues
 */
export declare class PerformanceExpert extends BaseCrossDomainExpert {
    private currentIntent;
    constructor(config?: Partial<CrossDomainExpertConfig>);
    /**
     * Generate initial queries based on user input
     */
    protected generateInitialQueries(input: CrossDomainInput, context: DialogueContext): Promise<ModuleQuery[]>;
    /**
     * Analyze responses and decide next action
     */
    protected analyzeAndDecide(session: DialogueSession, responses: ModuleResponse[]): Promise<AnalysisDecision>;
    /**
     * Ask AI to analyze findings and decide if deeper analysis is needed
     */
    private getAIAnalysisDecision;
    /**
     * Synthesize final conclusion from all collected evidence
     */
    protected synthesizeConclusion(session: DialogueSession): Promise<ExpertConclusion>;
    /**
     * Use AI to synthesize findings into a coherent conclusion
     */
    private getAISynthesis;
    /**
     * Classify user query into performance intent
     */
    private classifyIntent;
    /**
     * Get the appropriate skill for a module and intent
     */
    private getSkillForModule;
    /**
     * Create hypothesis from a finding
     */
    private createHypothesisFromFinding;
    /**
     * Check if a similar hypothesis already exists
     */
    private hasExistingHypothesis;
    /**
     * Generate queries to verify hypotheses
     */
    private generateVerificationQueries;
    /**
     * Get modules that can verify a hypothesis
     */
    private getVerificationModules;
    /**
     * Map source module to hypothesis category
     */
    private mapSourceToCategory;
    /**
     * Extract component name from finding
     */
    private extractComponent;
    /**
     * Determine category from all findings
     */
    private determineCategory;
    /**
     * Determine main component from findings
     */
    private determineComponent;
    /**
     * Build summary from findings
     */
    private buildSummary;
    /**
     * Build explanation from hypothesis
     */
    private buildExplanation;
    /**
     * Build explanation from findings
     */
    private buildFindingsExplanation;
    /**
     * Generate optimization suggestions based on hypothesis
     */
    private generateOptimizationSuggestions;
    /**
     * Generate suggestions from findings
     */
    private generateSuggestionsFromFindings;
    /**
     * Convert findings to evidence format
     */
    private convertFindingsToEvidence;
    /**
     * Calculate overall confidence from findings
     */
    private calculateOverallConfidence;
}
/**
 * Factory function to create a PerformanceExpert
 */
export declare function createPerformanceExpert(config?: Partial<CrossDomainExpertConfig>): PerformanceExpert;
//# sourceMappingURL=performanceExpert.d.ts.map