import { Container } from "../utils/container.js"; export declare class MemoryService { private container; private _cachedProjectMemory; private _cachedUserMemory; private _cachedCombinedMemory; private _cachedAutoMemoryContent; constructor(container: Container); get cachedProjectMemory(): string; get cachedUserMemory(): string; clearCache(): void; /** * Get the project-specific auto-memory directory. * Uses the git common directory to ensure worktrees share the same memory. */ getAutoMemoryDirectory(workdir: string): string; /** * Ensure the auto-memory directory and initial MEMORY.md exist. */ ensureAutoMemoryDirectory(workdir: string): Promise; /** * Get the first 200 lines of MEMORY.md. */ getAutoMemoryContent(workdir: string): Promise; ensureUserMemoryFile(): Promise; getUserMemoryContent(): Promise; readMemoryFile(workdir: string): Promise; getCombinedMemoryContent(workdir: string): Promise; }