import type { ModelRegistry } from "../config/model-registry"; import type { Settings } from "../config/settings"; import type { AgentSession } from "../session/agent-session"; /** * Start the background memory startup pipeline. * * Skips for ephemeral sessions, subagent sessions, disabled settings, or DB failures. */ export declare function startMemoryStartupTask(options: { session: AgentSession; settings: Settings; modelRegistry: ModelRegistry; agentDir: string; taskDepth: number; }): void; /** * Build memory usage instructions for prompt injection. */ export declare function buildMemoryToolDeveloperInstructions(agentDir: string, settings: Settings): Promise; /** * Clear all persisted memory state and generated artifacts. */ export declare function clearMemoryData(agentDir: string, cwd: string): Promise; /** * Force-enqueue global consolidation maintenance work. */ export declare function enqueueMemoryConsolidation(agentDir: string, cwd: string, sourceUpdatedAt?: number): void; export declare function getMemoryRoot(agentDir: string, cwd: string): string;