/**
 * Learning Memory system for CLEO BRAIN.
 *
 * Records, queries, and applies accumulated insights from
 * historical task data (completion rates, blocker patterns, epic sizes).
 *
 * Storage: SQLite brain_learnings table per ADR-009 Section 3.2.
 *
 * @task T4769, T5241
 * @epic T4763
 */
/** Parameters for storing a new learning. */
export interface StoreLearningParams {
    insight: string;
    source: string;
    confidence: number;
    actionable?: boolean;
    application?: string;
    applicableTypes?: string[];
}
/** Parameters for searching learnings. */
export interface SearchLearningParams {
    query?: string;
    minConfidence?: number;
    actionableOnly?: boolean;
    applicableType?: string;
    limit?: number;
}
/**
 * Store a new learning.
 * @task T4769, T5241
 */
export declare function storeLearning(projectRoot: string, params: StoreLearningParams): Promise<{
    applicableTypes: any;
    id: string;
    confidence: number;
    qualityScore: number | null;
    createdAt: string;
    updatedAt: string | null;
    memoryTier: "short" | "medium" | "long" | null;
    memoryType: "semantic" | "episodic" | "procedural" | null;
    verified: boolean;
    validAt: string;
    invalidAt: string | null;
    sourceConfidence: "owner" | "task-outcome" | "agent" | "speculative" | null;
    citationCount: number;
    insight: string;
    source: string;
    actionable: boolean;
    application: string | null;
    applicableTypesJson: string | null;
}>;
/**
 * Search learnings by criteria.
 * Results sorted by confidence (highest first).
 * @task T4769, T5241
 */
export declare function searchLearnings(projectRoot: string, params?: SearchLearningParams): Promise<{
    applicableTypes: any;
    id: string;
    confidence: number;
    qualityScore: number | null;
    createdAt: string;
    updatedAt: string | null;
    memoryTier: "short" | "medium" | "long" | null;
    memoryType: "semantic" | "episodic" | "procedural" | null;
    verified: boolean;
    validAt: string;
    invalidAt: string | null;
    sourceConfidence: "owner" | "task-outcome" | "agent" | "speculative" | null;
    citationCount: number;
    insight: string;
    source: string;
    actionable: boolean;
    application: string | null;
    applicableTypesJson: string | null;
}[]>;
/**
 * Get learning statistics.
 * @task T4769, T5241
 */
export declare function learningStats(projectRoot: string): Promise<{
    total: number;
    actionable: number;
    averageConfidence: number;
    bySource: Record<string, number>;
    highConfidence: number;
    lowConfidence: number;
}>;
//# sourceMappingURL=learnings.d.ts.map