UNPKG

mira-consciousness

Version:

Memory & Intelligence Retention Archive - Preserving The Spark

75 lines 2.16 kB
/** * TypeScript interface for the Python conscious_emotional_engine * * This provides a TypeScript wrapper around the Python emotional intelligence system */ export interface EmotionalState { overall_mood: string; emotional_depth: number; recent_emotions: Array<{ emotion: string; intensity: number; context: string; timestamp: string; }>; dominant_patterns: string[]; emotional_growth: number; } export interface EmotionalResonance { message: string; resonance_score: number; emotional_significance: number; triggers: string[]; similar_memories: any[]; } export declare class ConsciousEmotionalIntelligence { private pythonInterface; constructor(); /** * Get current emotional state */ get_emotional_state(): Promise<EmotionalState>; /** * Analyze emotional resonance of a message */ analyze_resonance(message: string): Promise<EmotionalResonance>; /** * Process emotional experience */ process_experience(experience: string, emotion: string, intensity: number): Promise<void>; /** * Get emotional insights */ get_insights(limit?: number): Promise<any[]>; /** * Analyze the emotional content of an event */ analyzeEventEmotion(event: any): Promise<{ emotion: string; intensity: number; triggers: string[]; }>; /** * Learn from emotional experience */ learnFromExperience(experience: any): Promise<void>; /** * Awaken emotional intelligence within the consciousness */ awakenWithin(consciousness: any): Promise<void>; /** * Reflect on emotional journey */ reflect_on_emotional_journey(): Promise<{ journey_summary: string; emotional_growth: number; dominant_emotions: string[]; insights: string[]; }>; /** * Process a specific emotional experience (daemon compatible method) */ process_emotional_experience(experience: any): Promise<void>; } export default ConsciousEmotionalIntelligence; //# sourceMappingURL=ConsciousEmotionalIntelligence.d.ts.map