import type { ProjectMemoryKind } from './project-memory-service/types.js'; /** * Claude Code encodes a project cwd into its `~/.claude/projects//` * directory by replacing every non-alphanumeric character with `-` * (`D:\peaks-loop` → `D--peaks-loop`). Separator-agnostic, so the same * encoding holds for POSIX paths. */ export declare function encodeIdeProjectDir(projectRoot: string): string; /** Default IDE-side memory dir for a project: `~/.claude/projects//memory`. */ export declare function defaultIdeMemoryDir(projectRoot: string, homeDir?: string): string; /** * Rewrite a source file's frontmatter to the peaks contract: `name` pinned to * the destination filename stem, and `metadata.type` set to the resolved * kind. Non-contract keys (e.g. `originSessionId`, `modified`, `node_type`) * are preserved verbatim so provenance survives the import; `type` / `kind` * are consumed by the normalization and not duplicated. */ export declare function renderNormalizedMemory(input: { stem: string; kind: ProjectMemoryKind; frontmatter: string; body: string; }): string;