import { Container } from "../utils/container.js";
export declare class MemoryService {
    private container;
    constructor(container: Container);
    /**
     * 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<void>;
    /**
     * Get the first 200 lines of MEMORY.md.
     */
    getAutoMemoryContent(workdir: string): Promise<string>;
    ensureUserMemoryFile(): Promise<void>;
    getUserMemoryContent(): Promise<string>;
    readMemoryFile(workdir: string): Promise<string>;
    getCombinedMemoryContent(workdir: string): Promise<string>;
}
//# sourceMappingURL=memory.d.ts.map