import { AgentConfig } from "./types.js"; /** * 获取单个 Agent 配置(从文件系统读取) * 每次调用都重新读取文件,保证最新 */ export declare function getAgent(agentId: string): AgentConfig | undefined; /** * 获取所有 Agent 列表(从文件系统扫描) * 每次调用都重新扫描目录,保证最新 */ export declare function getAgents(): AgentConfig[]; /** * 获取默认 Agent * defaultAgent 字段存的是 ID,指向 agents/ 目录下的文件 */ export declare function getDefaultAgent(): AgentConfig | undefined; /** * 设置默认 Agent */ export declare function setDefaultAgent(agentId: string): void; /** * 新增或更新 Agent(写文件) */ export declare function upsertAgent(agent: AgentConfig): void; /** * 删除 Agent(删文件) */ export declare function deleteAgent(agentId: string): void; //# sourceMappingURL=agents.d.ts.map