import { ToolInvokeOptions, ToolOutput, JSONSchema, JsonObject, InlineToolRunnable } from './types'; /** * Creates a tool with the given implementation, schema, and metadata. * This is a zod-free implementation that accepts JSON Schema directly and a validation function. * * @param func The function implementation for the tool * @param options Tool configuration options * @returns A tool object that can be used in the agent */ export declare function createTool(func: (input: T, options: ToolInvokeOptions) => Promise, options: { name: string; description: string; inputSchema: JSONSchema; validate: (input: JsonObject) => T; metadata?: { explainer?: (input?: T) => string; [key: string]: any; }; verboseParsingErrors?: boolean; responseFormat?: 'content_and_artifact' | string; }): InlineToolRunnable; //# sourceMappingURL=toolFactory.d.ts.map