import type { MemoryDiff, MemoryRoot } from "./types.js"; export type EditPageOptions = { reason: string; launchEditor: (filePath: string) => Promise; }; export type EditPageResult = { changed: boolean; diff?: MemoryDiff; }; export declare function editPage(root: MemoryRoot, relPath: string, opts: EditPageOptions): Promise;