/** * Neural MCP Tools for CLI * * V2 Compatibility - Neural network and ML tools * * ✅ HYBRID Implementation: * - Uses @claude-flow/embeddings for REAL ML embeddings when available * - Falls back to deterministic hash-based embeddings when ML model not installed * - Pattern storage and search with cosine similarity (real math in all tiers) * - Training stores patterns as searchable embeddings (not simulated) * * Note: For production neural features, use @claude-flow/neural module */ import { type MCPTool } from './types.js'; /** * ADR-176 flywheel: expose the stored patterns (id/name/content) so the * self-optimizing loop can harvest a benchmark corpus from real usage. Additive, * read-only, never throws. */ export declare function getStorePatterns(): Array<{ id: string; name: string; content?: string; }>; /** * Public helper: read-only stats about the neural store, for the unified * learning-stats aggregator. Returns total pattern count + per-type breakdown * without exposing the embeddings. */ export declare function getNeuralStoreStats(): { patternCount: number; byType: Record; modelCount: number; source: string; }; /** * Public helper: store an array of patterns into the neural store so they * surface via `neural_patterns list`. Used by hooks_pretrain so its extracted * patterns are actually queryable, not just bundled in the `pretrain` namespace. * #2245. * * Returns the number of patterns written. */ export declare function storeNeuralPatterns(items: Array<{ name: string; type: string; content?: string; metadata?: Record; }>): Promise<{ stored: number; total: number; }>; export declare const neuralTools: MCPTool[]; //# sourceMappingURL=neural-tools.d.ts.map