/** * Vault Transform Layer * * Converts Gaia Memory objects into Obsidian-compatible markdown files * with YAML frontmatter and [[wikilink]] cross-references. */ import type { Memory, MemoryLink } from '../tools/gaia/storage.js'; /** * Returns a filesystem-safe filename for a memory. * Format: `-.md` */ export declare function memoryToFilename(memory: Memory): string; /** * Returns the target folder path in the vault for a given memory, based on tier. */ export declare function memoryToFolderPath(memory: Memory, vaultRoot: string): string; /** * Transforms a Memory and its links into a full Obsidian markdown string. * * @param memory The memory to transform * @param links All MemoryLink rows where from_memory_id === memory.id * @param allMemories Map of id → Memory for resolving link targets */ export declare function transformMemory(memory: Memory, links: MemoryLink[], allMemories: Map): string; //# sourceMappingURL=transform.d.ts.map