import { Effect, Schema } from "effect"; import type { AgentToolToolkit } from "../agent/agent-tool.js"; import { ToolContext } from "./tool-context.js"; import type { SchemaTool, ToolSchemaServices } from "./tool-result-codec.js"; import { FrameworkFailure, type ClosedToolSet, type Outcome, type Request } from "./tool-executor.js"; /** @experimental Execute one tool call against a closed tool set that already owns its invocation. */ export declare const executeWithClosedSet: { (request: Request): (toolkit: ClosedToolSet) => Effect.Effect>; (toolkit: ClosedToolSet, request: Request): Effect.Effect>; }; /** @experimental Execute one tool call against a closed agent-tool toolkit. */ export declare const executeWithClosedToolkit: { (request: Request): (toolkit: AgentToolToolkit) => Effect.Effect; (toolkit: AgentToolToolkit, request: Request): Effect.Effect; };