import type { AnyAgentTool } from "openclaw/plugin-sdk"; type ToolExecuteReturn = Awaited>>; /** * 与 `openclaw/plugin-sdk` 的 `jsonResult` 返回结构一致(AgentToolResult), * 供工具 `execute` 使用。 * * 部分环境下网关打包插件后,`import { jsonResult } from "openclaw/plugin-sdk"` 会变成 * `_pluginSdk.jsonResult` 且值为 `undefined`,调用时报 * `(0 , _pluginSdk.jsonResult) is not a function`。 * 使用本函数可避免依赖该命名导出在打包产物中是否保留。 */ export declare function toolJsonResult(payload: unknown): ToolExecuteReturn; export {}; //# sourceMappingURL=tool-json-result.d.ts.map