import type { MemoryDiff, MemoryRoot, PageFrontmatter } from "./types.js";
export declare function writePage(root: MemoryRoot, relPath: string, body: string, opts: {
    frontmatter?: PageFrontmatter;
    reason: string;
}): Promise<MemoryDiff>;
export declare function appendToPage(root: MemoryRoot, relPath: string, content: string, opts: {
    reason: string;
}): Promise<MemoryDiff>;
export declare function clearMemory(root: MemoryRoot): Promise<void>;
