/** * Auto-Recall Module for MAMA Standalone * * Ported from OpenClaw plugin's auto-recall logic to standalone. * Automatically searches related memories before agent start and injects into context. * * Features: * - Prompt-based semantic search * - Recent checkpoint loading * - Related decision context injection */ /** * Auto-recall result type */ export interface AutoRecallResult { /** Context string to inject */ context: string; /** Number of semantic search results */ semanticMatches: number; /** Number of recent decisions */ recentDecisions: number; /** Whether a checkpoint exists */ hasCheckpoint: boolean; } /** * Execute prompt-based auto-recall * * Ported from OpenClaw's before_agent_start hook logic to standalone. * * @param userPrompt - User prompt (used as semantic search query) * @param options - Options * @returns AutoRecallResult or null (no memories found) */ export declare function autoRecall(userPrompt: string, options?: { dbPath?: string; semanticLimit?: number; recentLimit?: number; threshold?: number; }): Promise; /** * Direct MAMA API access (advanced usage) */ export declare function getMAMAApi(): any; /** * Check initialization status */ export declare function isInitialized(): boolean; //# sourceMappingURL=auto-recall.d.ts.map