/** * Semantic memory entries — L4 structured recall (no vector v1). */ export type MemoryEntryScope = 'global' | 'platform' | 'session' | 'user'; export declare const MEMORY_ENTRY_MODEL: { id: { type: "text"; nullable: boolean; }; scope: { type: "text"; nullable: boolean; }; scope_key: { type: "text"; default: string; }; key: { type: "text"; nullable: boolean; }; content: { type: "text"; nullable: boolean; }; tags: { type: "text"; default: string; }; source: { type: "text"; default: string; }; confidence: { type: "real"; default: number; }; created_at: { type: "integer"; default: number; }; updated_at: { type: "integer"; default: number; }; expires_at: { type: "integer"; nullable: boolean; }; }; export interface MemoryEntryRecord { id: string; scope: MemoryEntryScope; scope_key: string; key: string; content: string; tags: string; source: string; confidence: number; created_at: number; updated_at: number; expires_at: number | null; } export interface MemoryEntryUpsertInput { scope: MemoryEntryScope; scope_key?: string; key: string; content: string; tags?: string[]; source?: string; confidence?: number; expires_at?: number | null; } export interface MemoryEntrySearchInput { scope?: MemoryEntryScope; scope_key?: string; query: string; limit?: number; } export declare function parseMemoryTags(json: string): string[]; export declare function serializeMemoryTags(tags: string[] | undefined): string; //# sourceMappingURL=memory-entry-models.d.ts.map