import type { ToolInputValue } from "@best-agent/protocol";
import type { RuntimeToolDefinition, ToolDefinition, ToolExecutionContext, ToolInputBase } from "./contracts.js";
export declare function toRuntimeToolDefinition<TInput extends ToolInputBase>(tool: ToolDefinition<TInput>): RuntimeToolDefinition;
export declare function parseToolInputForDefinition<TInput extends ToolInputBase>(tool: ToolDefinition<TInput>, input: ToolInputValue, context: ToolExecutionContext): Promise<TInput>;
export declare function parseToolInputForDefinitionSync<TInput extends ToolInputBase>(tool: ToolDefinition<TInput>, input: ToolInputValue): TInput;
export declare function parseRuntimeToolInput(toolName: string, inputSchema: unknown, input: ToolInputValue): ToolInputValue;
//# sourceMappingURL=definition-adapter.d.ts.map