import type { MemoryRoot } from "./types.js"; export declare const MEMORY_INDEX_RELPATH = "INDEX.md"; export declare const MEMORY_LOG_RELPATH = "LOG.md"; export declare const MEMORY_PAGES_DIR_RELPATH = "pages"; export declare const MEMORY_CACHE_DIR_RELPATH = ".cache"; export declare const MEMORY_INGEST_CACHE_DIR_RELPATH = ".cache/ingest"; export declare class MemoryPathError extends Error { constructor(message: string); } export declare function resolveMemoryRoot(cwd: string): MemoryRoot; export declare function assertSafeRelPath(input: string): string; export declare function assertNoSymlinkSegments(root: MemoryRoot, relPath: string): Promise; export declare function assertMemoryRootIsNotSymlink(root: MemoryRoot): Promise;