import type { AssistantMessage } from "@earendil-works/pi-ai"; import type { AgentToolCall } from "../../../types.ts"; import { type ToolBatch, type ToolCall, type ToolsOperation } from "../../session/types.ts"; import type { Lane } from "../lane.ts"; import type { Drive } from "../types.ts"; export type ToolBatchSource = { assistant: AssistantMessage; calls: Map; }; export declare function readToolBatchSource(lane: Lane, drive: Drive, batch: ToolBatch): Promise; export declare function toolCallFor(sources: ToolBatchSource, call: ToolCall): AgentToolCall; export declare function withToolBatch(run: ToolsOperation, batch: ToolBatch): ToolsOperation; export declare function materializeReady(lane: Lane, drive: Drive, capability: ToolsOperation, sources: ToolBatchSource, recovery: boolean): Promise; //# sourceMappingURL=tool-placement.d.ts.map