import { AgentNS } from "@ai-zen/agents-core"; import { ConversationData } from "./types.js"; /** * 获取对话列表,仅读取文件名和文件系统 mtime,不读取文件内容。 * 适用于大量对话场景,避免逐个 JSON 解析的性能问题。 */ export declare function getConversationsList(): ConversationData[]; export declare function saveConversation(name: string, messages: AgentNS.Message[], modelId: string, existingId?: string, agentId?: string): string; export declare function loadConversation(id: string): ConversationData; export declare function deleteConversation(id: string): void; //# sourceMappingURL=conversations.d.ts.map