export declare const MEMORY_TYPES: readonly ["user", "feedback", "project", "reference"]; export type MemoryType = (typeof MEMORY_TYPES)[number]; export declare const FRONTMATTER_MAX_LINES = 30; export type Frontmatter = { name?: string; description?: string; type?: string; [key: string]: string | undefined; }; export type ParsedMemoryFile = { frontmatter: Frontmatter; body: string; hasFrontmatter: boolean; }; export declare function parseFrontmatter(raw: string): ParsedMemoryFile; export declare function parseFrontmatterHeader(raw: string): { frontmatter: Frontmatter; hasFrontmatter: boolean; }; export declare function buildFrontmatter(input: { name: string; description: string; type: MemoryType; }): string; export declare function parseMemoryType(raw: string | undefined): MemoryType | undefined;