/** * @fileoverview Session Manager Memory and Hook Operations * @module @skillsmith/core/session/SessionManager.memory * @see SMI-641: Session ID Storage in Claude-Flow Memory * @see SMI-2741: Split from SessionManager.ts to meet 500-line standard * @see SMI-3600: Remove dead V3 dynamic imports (claude-flow → ruflo rename) * @see SMI-3601: Migrate npx claude-flow CLI calls to npx ruflo * * Standalone functions for ruflo memory storage, retrieval, deletion, * and hook invocation. Extracted to keep SessionManager.ts within the * 500-line limit. */ import type { CommandExecutor, MemoryResult } from './SessionManager.types.js'; /** * Store data in ruflo memory * * SMI-674: Uses spawn() with argument array to prevent command injection * SMI-3601: Migrated from claude-flow to ruflo * * @param key - Memory key * @param value - Value to store * @param executor - Command executor for spawn/execute fallback * @returns Memory operation result */ export declare function storeMemoryEntry(key: string, value: string, executor: CommandExecutor): Promise; /** * Retrieve data from ruflo memory * * SMI-674: Uses spawn() with argument array to prevent command injection * SMI-3601: Migrated from claude-flow to ruflo * * @param key - Memory key * @param executor - Command executor for spawn/execute fallback * @returns Memory operation result with data */ export declare function retrieveMemoryEntry(key: string, executor: CommandExecutor): Promise; /** * Delete data from ruflo memory * * SMI-674: Uses spawn() with argument array to prevent command injection * SMI-3601: Migrated from claude-flow to ruflo * * @param key - Memory key to delete * @param executor - Command executor for spawn/execute fallback * @returns Memory operation result */ export declare function deleteMemoryEntry(key: string, executor: CommandExecutor): Promise; /** * Run pre-task hook * * SMI-674: Uses spawn() with argument array to prevent command injection * SMI-3601: Migrated from claude-flow to ruflo * * @param description - Task description * @param executor - Command executor for spawn/execute fallback */ export declare function runPreTaskHook(description: string, executor: CommandExecutor): Promise; /** * Run post-task hook * * SMI-674: Uses spawn() with argument array to prevent command injection * SMI-3601: Migrated from claude-flow to ruflo * * @param taskId - Task ID to pass to the hook * @param executor - Command executor for spawn/execute fallback */ export declare function runPostTaskHook(taskId: string, executor: CommandExecutor): Promise; //# sourceMappingURL=SessionManager.memory.d.ts.map