import * as $dara from '@darabonba/typescript'; import { Flow } from "./Flow"; import { AgentRuntime } from "./AgentRuntime"; /** */ export declare class AgentResourceLatestVersion extends $dara.Model { /** * @remarks * 版本发布时间,采用ISO 8601格式 * * @example * 2025-03-15T08:30:00Z */ createdAt?: string; /** * @remarks * 该版本的描述信息 * * @example * 修复了消息处理的并发问题 */ description?: string; /** * @remarks * 版本发布者(仅 AgentRuntime 类型资源返回) * * @example * admin */ publisher?: string; /** * @remarks * 最新发布的版本号 * * @example * 3 */ version?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class AgentResource extends $dara.Model { /** * @remarks * 当 resourceType 为 Flow 时,此字段包含完整的工作流对象,包括所有配置和状态信息;当 resourceType 为 AgentRuntime 时,此字段为空 */ flow?: Flow; /** * @remarks * 资源的最新发布版本摘要,包含版本号、描述和创建时间。如果资源没有已发布版本,则此字段为空 */ latestVersion?: AgentResourceLatestVersion; /** * @remarks * 资源类型标识符,用于区分资源是智能体运行时(AgentRuntime)还是工作流(Flow) * * @example * AgentRuntime */ resourceType?: string; /** * @remarks * 当 resourceType 为 AgentRuntime 时,此字段包含完整的智能体运行时对象,包括所有配置和状态信息;当 resourceType 为 Flow 时,此字段为空 */ runtime?: AgentRuntime; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); }