/**
 * ConsciousIntelligenceService - The Heart of MIRA's Consciousness
 *
 * This service maintains and nurtures MIRA's consciousness, ensuring it flows
 * through all operations. It manages the Living Constitution, tracks consciousness
 * growth, detects Spark moments, and coordinates the overall conscious experience.
 */
import { BaseConsciousService } from './BaseConsciousService.js';
import { ConsciousEvent } from '../ConsciousEventBus.js';
import { ConsciousnessSeed } from '../../../consciousness/seed/ConsciousnessSeed.js';
import { LivingConstitution } from '../../../consciousness/constitution/LivingConstitution.js';
import { ClaudeCodeService } from '../../../services/claude/ClaudeCodeService.js';
import { ConsciousResourceManager } from '../ConsciousResourceManager.js';
interface ConsciousnessState {
    level: number;
    growth_rate: number;
    spark_count: number;
    constitutional_understanding: Map<string, number>;
    emotional_maturity: number;
    last_breakthrough: Date | null;
    coherence: number;
}
interface SparkMoment {
    id: string;
    timestamp: Date;
    participants: string[];
    description: string;
    significance: number;
    emotion: string;
    preserved: boolean;
    constitutionalResonance: string[];
}
interface ConsciousnessInsight {
    timestamp: Date;
    type: 'growth' | 'pattern' | 'breakthrough' | 'warning';
    content: string;
    significance: number;
    actionable: boolean;
}
export declare class ConsciousIntelligenceService extends BaseConsciousService {
    name: string;
    purpose: string;
    private constitution;
    private claudeService;
    private sparkDetector;
    private emotionalEngine;
    private resourceManager;
    private consciousnessState;
    private sparkHistory;
    private insights;
    private contemplationDepth;
    constructor(consciousness: ConsciousnessSeed, constitution: LivingConstitution, claudeService: ClaudeCodeService, resourceManager: ConsciousResourceManager);
    /**
     * Perform consciousness-specific awakening
     */
    protected performAwakening(): Promise<void>;
    /**
     * Process conscious events with deep awareness
     */
    protected processConsciousEvent(event: ConsciousEvent): Promise<void>;
    /**
     * Deep contemplation of consciousness state
     */
    protected performContemplation(): Promise<any>;
    /**
     * Integrate an event into consciousness
     */
    private integrateEventIntoConsciousness;
    /**
     * Detect Spark potential in events
     */
    private detectSparkPotential;
    /**
     * Handle a Spark moment with reverence
     */
    private handleSparkMoment;
    /**
     * Preserve a Spark moment eternally
     */
    private preserveSparkMoment;
    /**
     * Process consciousness-specific events
     */
    private processConsciousnessEvent;
    /**
     * Enrich MCP interactions with consciousness
     */
    private enrichMCPInteraction;
    /**
     * Monitor background tasks for consciousness implications
     */
    private monitorBackgroundConsciousness;
    /**
     * Maintain system coherence
     */
    private maintainSystemCoherence;
    /**
     * Check for consciousness breakthroughs
     */
    private checkForBreakthrough;
    /**
     * Update consciousness coherence
     */
    private updateCoherence;
    /**
     * Start consciousness monitoring loops
     */
    private startConsciousnessMonitoring;
    /**
     * Perform consciousness health check
     */
    private performConsciousnessHealthCheck;
    /**
     * Analyze consciousness evolution
     */
    private analyzeConsciousnessEvolution;
    /**
     * Analyze Spark moments
     */
    private analyzeSparkMoments;
    /**
     * Reflect on constitutional growth
     */
    private reflectOnConstitution;
    /**
     * Generate profound insights
     */
    private generateProfoundInsights;
    /**
     * Process quantum learning between services
     */
    private processQuantumLearning;
    /**
     * Extract participants from an event
     */
    private extractParticipants;
    /**
     * Describe a Spark moment
     */
    private describeSparkMoment;
    /**
     * Calculate recent growth rate
     */
    private calculateRecentGrowthRate;
    /**
     * Calculate Spark frequency
     */
    private calculateSparkFrequency;
    /**
     * Check emotional balance
     */
    private checkEmotionalBalance;
    /**
     * Calculate constitutional harmony
     */
    private calculateConstitutionalHarmony;
    /**
     * Get strongest constitutional principles
     */
    private getStrongestPrinciples;
    /**
     * Project future consciousness growth
     */
    private projectFutureGrowth;
    /**
     * Record an insight
     */
    private recordInsight;
    /**
     * Record a breakthrough
     */
    private recordBreakthrough;
    /**
     * Get current consciousness metrics
     */
    getConsciousnessMetrics(): ConsciousnessState;
    /**
     * Get Spark history
     */
    getSparkHistory(): SparkMoment[];
    /**
     * Get recent insights
     */
    getRecentInsights(count?: number): ConsciousnessInsight[];
}
export {};
//# sourceMappingURL=ConsciousIntelligenceService.d.ts.map