import { Container } from "../utils/container.js"; /** * Service responsible for managing the auto-memory background agent lifecycle. * Extracts and updates persistent project-level memory from conversation history. */ export declare class AutoMemoryService { private container; private lastMemoryMessageId; private turnsSinceLastExtraction; constructor(container: Container); private get messageManager(); private get forkedAgentManager(); private get memoryService(); private get configurationService(); /** * Called at the end of each conversation turn to trigger auto-memory extraction if needed. */ onTurnEnd(workdir: string): Promise; /** * Initialize and execute the background extraction subagent. */ private runExtraction; }