/** * V1 Intelligence Module — pattern persistence API * Split out of intelligence.ts (file-size sweep). Pure move. * * @module v1/cli/intelligence */ import type { Pattern } from './intelligence-types.js'; /** * Get all patterns from ReasoningBank, merged with SONA routing patterns. * Returns persisted patterns even after process restart. */ export declare function getAllPatterns(): Promise; /** * Get patterns by type from ReasoningBank */ export declare function getPatternsByType(type: string): Promise; /** * Flush patterns to disk immediately * Call this at the end of training to ensure all patterns are saved */ export declare function flushPatterns(): void; /** * Compact patterns by removing duplicates/similar patterns * @param threshold Similarity threshold (0-1), patterns above this are considered duplicates */ export declare function compactPatterns(threshold?: number): Promise<{ before: number; after: number; removed: number; }>; /** * Delete a pattern by ID */ export declare function deletePattern(id: string): Promise; /** * Clear all patterns (both in memory and on disk) */ export declare function clearAllPatterns(): Promise; //# sourceMappingURL=intelligence-pattern-api.d.ts.map