export interface CreateAgentArgs { /** 一句话需求(如「回答金融合规问题的专家」) */ requirement: string; /** 可选:落盘到指定 Agent 目录(默认不落盘,只返回配置) */ targetDir?: string; } export interface CreateAgentResult { /** 首行必须 [sofagent] 前缀 */ text: string; /** 结构化数据 */ data: { status: 'derived' | 'needs_clarification'; agentName?: string; thinkMd?: string; matchedKnowledge?: string[]; thinkingLevel?: string; clarifyingQuestions?: string[]; validationErrors?: string[]; isError: boolean; }; } /** * 一句话需求 → 自动推导 Agent 配置。 * * @param args 参数 * @returns 结构化结果(text + data) */ export declare function createAgent(args: CreateAgentArgs): Promise; //# sourceMappingURL=create-agent.d.ts.map