/**
 * Memory Flush
 *
 * Flushes important context to EnhancedMemory before compaction
 * to preserve critical information that might otherwise be lost.
 */
import type { ChatMessage } from '../../types/index.js';
import type { FlushableMemory } from './types.js';
/**
 * Extract flushable memories from messages
 */
export declare function extractFlushableMemories(messages: ChatMessage[]): FlushableMemory[];
/**
 * Flush memories to EnhancedMemory
 */
export declare function flushToMemory(memories: FlushableMemory[], options?: {
    projectId?: string;
    sessionId?: string;
    maxMemories?: number;
}): Promise<number>;
/**
 * Flush messages to memory before compaction
 */
export declare function flushMessagesToMemory(messages: ChatMessage[], options?: {
    projectId?: string;
    sessionId?: string;
    maxMemories?: number;
}): Promise<number>;
