/** * @license * Copyright 2026 Alibaba Group Holding Limited * SPDX-License-Identifier: Apache-2.0 */ import { type MemoryConfig } from './config.js'; import type { MemoryStore } from './store.js'; export declare function readContents(store: MemoryStore, memoryId: string, options?: { config?: MemoryConfig['preload']; now?: Date; }): { library: import("./store.js").MemoryLibrary; generated_at: string; last_consolidation: Record | null; ltm: { fields: { key: "name" | "occupation_or_role" | "long_term_goals" | "routines" | "appearance" | "preferences" | "interests" | "relationships"; label: "Appearance" | "Name" | "Occupation/Role" | "Long-term Goals" | "Routines" | "Preferences" | "Interests" | "Relationships"; values: string[]; }[]; present: ("name" | "occupation_or_role" | "long_term_goals" | "routines" | "appearance" | "preferences" | "interests" | "relationships")[]; trimmed: ("name" | "occupation_or_role" | "long_term_goals" | "routines" | "appearance" | "preferences" | "interests" | "relationships")[]; }; stm: { n_active: number; selected: { expires_at: string | null; id: number; content: string; score: number; status: "ongoing" | "upcoming"; recorded_at: string; event_date: string | null; created_ts: number; }[]; dropped: { content: string; expires_at: string | null; id: number; score: number; status: "ongoing" | "upcoming"; recorded_at: string; event_date: string | null; reason: "over_max_items" | "over_max_chars"; }[]; expired: { id: number; content: string; status: "ongoing" | "upcoming"; recorded_at: string; event_date: string | null; expires_at: string | null; expired_at: string | null; }[]; }; }; export type MemoryContents = ReturnType;