/** * Neural Models - AI model management and inference * * Manages neural network models for pattern recognition, performance prediction, * and intelligent agent selection in the AI Integration system. */ import { EventEmitter } from 'eventemitter3'; import { NeuralModel, ModelType, ModelStatus, OperationResult } from '../types'; export interface TrainingConfig { epochs: number; batchSize: number; learningRate: number; validationSplit: number; earlyStoppingPatience?: number; } export interface ModelInference { modelId: string; input: InferenceInput; output: InferenceOutput; confidence: number; timestamp: Date; } type InferenceInput = TaskClassificationInput | AgentSelectionInput | PerformancePredictionInput | PatternRecognitionInput | Record; interface TaskClassificationInput { description?: string; context?: Record; priority?: string; } interface AgentSelectionInput { requiredCapabilities?: string[]; complexity?: number; taskType?: string; } interface PerformancePredictionInput { complexity?: number; agentCount?: number; taskSize?: number; } interface PatternRecognitionInput { pattern?: string; data?: unknown[]; context?: Record; } type InferenceOutput = Record; export declare class NeuralModels extends EventEmitter { private models; private modelCache; private defaultTrainingConfig; constructor(); initialize(): Promise; private initializeDefaultModels; createModel(name: string, type: ModelType, parameters: any): Promise; trainModel(modelId: string, trainingData: any[], config?: Partial): Promise; private simulateTraining; private generatePerformanceMetrics; predict(modelId: string, input: InferenceInput): Promise; private simulateInference; private calculateInputComplexity; private getObjectDepth; private classifyTask; private selectAgents; private predictPerformance; private recognizePatterns; updateModel(modelId: string, updates: Partial): Promise; deleteModel(modelId: string): Promise; getModel(modelId: string): NeuralModel | undefined; getAllModels(): NeuralModel[]; getModelsByType(type: ModelType): NeuralModel[]; getModelsByStatus(status: ModelStatus): NeuralModel[]; getModelMetrics(modelId: string): Promise; private calculateMemoryUsage; private inferenceCounters; private getInferenceCount; private incrementInferenceCount; exportModel(modelId: string, format?: 'json' | 'binary'): Promise; importModel(modelData: any): Promise; shutdown(): Promise; } export {}; //# sourceMappingURL=NeuralModels.d.ts.map