/**
 * VERSATIL Learning Codifier
 *
 * Stores extracted learnings in Supabase RAG for future retrieval.
 * Implements the "Codify" phase of the EVERY Workflow.
 *
 * Responsibilities:
 * - Store code patterns in vector database
 * - Store lessons learned for future reference
 * - Tag learnings by agent, category, and effectiveness
 * - Create embeddings for similarity search
 * - Update agent memory with insights
 *
 * Integration: Final step in stop hook learning workflow
 */
import { ExtractedLearnings } from './learning-extractor.js';
export interface CodificationResult {
    patternsStored: number;
    lessonsStored: number;
    agentMemoriesUpdated: number;
    ragEntriesCreated: number;
    success: boolean;
    error?: string;
}
export declare class LearningCodifier {
    private logger;
    private vectorStore;
    constructor();
    /**
     * Initialize vector store connection
     */
    private initializeVectorStore;
    /**
     * Main entry point: Codify learnings to RAG
     */
    codifyLearnings(learnings: ExtractedLearnings): Promise<CodificationResult>;
    /**
     * Store code patterns in RAG
     */
    private storeCodePatterns;
    /**
     * Store lessons learned in RAG
     */
    private storeLessonsLearned;
    /**
     * Update agent memories with insights
     */
    private updateAgentMemories;
    /**
     * Format agent insights for memory storage
     */
    private formatAgentInsights;
    /**
     * Format project knowledge for memory storage
     */
    private formatProjectKnowledge;
    /**
     * Map pattern category to responsible agent
     */
    private mapCategoryToAgent;
}
/**
 * Factory function for LearningCodifier
 */
export declare function createLearningCodifier(): LearningCodifier;
