import type { ToolCall, ToolResult } from "../types.js"; import { type ToolRunOptions, type ToolHandler } from "./tool-types.js"; import { normalizeToolCall } from "./call-normalization.js"; export { normalizeToolCall }; export type { ToolRunOptions, ToolHandler }; export { parseBatchFailPolicy, compileBatchFailMode, evaluateCancelTargets, formatBatchCancelReason, } from "./batch-fail-policy.js"; export declare const toolRegistry: Record; export declare function availableToolNames(): string[]; export declare function knownToolNames(): string[]; export declare function unknownToolErrorMessage(name: string): string; export declare function extractResultUrls(output: string): string[]; export declare function normalizeToolResult(name: string, result: ToolResult): ToolResult; export declare function runToolCall(call: ToolCall, options?: ToolRunOptions): Promise; export declare const BATCH_SAFE_TOOLS: Set; export declare function normalizeBatchToolName(raw: string): string;