import { type LinkType, type MemoryKind } from "../constants.js"; import type { MemoryFrontmatter, ParsedMemory } from "../types.js"; export declare function normalizeKind(kind: string | undefined): MemoryKind; export declare function normalizeLinkType(type: string | undefined): LinkType; export declare function memoryRelativePath(projectName: string, kind: MemoryKind, name: string): string; export declare function relativePathToMetadata(relativePath: string): Pick; export declare function readMemory(memoryRoot: string, relativePath: string): Promise; export declare function writeMemory(memoryRoot: string, relativePath: string, frontmatter: MemoryFrontmatter, body: string): Promise; export declare function deleteMemoryFile(memoryRoot: string, relativePath: string): Promise; export declare function normalizeRelativePath(value: string): string; export declare function normalizeFrontmatter(value: Record, fallback: Pick): MemoryFrontmatter; export declare function memoryToEmbeddingText(memory: Pick): string;