export interface ConsolidationResult {
    project: string;
    sessions_analyzed: number;
    memories_extracted: number;
    output_path: string;
    categories: Record<string, number>;
    elapsed_ms: number;
}
export interface Memory {
    category: "decision" | "solution" | "pattern" | "architecture" | "gotcha" | "preference";
    summary: string;
    detail: string;
    session_id: string;
    timestamp: string;
    confidence: "high" | "medium" | "low";
}
/**
 * Consolidate conversation history into a MEMORY.md knowledge file.
 *
 * Scans conversation search results for key topics and produces
 * a structured markdown file grouping memories by category.
 */
export declare function consolidateMemories(projectPath?: string, options?: {
    output_path?: string;
    max_sessions?: number;
    min_confidence?: Memory["confidence"];
}): Promise<ConsolidationResult>;
/**
 * Read an existing MEMORY.md and return its contents.
 */
export declare function readMemory(projectPath?: string): Promise<{
    content: string;
    path: string;
} | null>;
//# sourceMappingURL=memory-tools.d.ts.map