import * as z from "zod/v3";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { FunctionT, FunctionT$Outbound } from "./function.js";
export declare const FunctionToolType: {
    readonly Function: "function";
};
export type FunctionToolType = ClosedEnum<typeof FunctionToolType>;
export type FunctionTool = {
    type?: FunctionToolType | undefined;
    function: FunctionT;
};
/** @internal */
export declare const FunctionToolType$inboundSchema: z.ZodNativeEnum<typeof FunctionToolType>;
/** @internal */
export declare const FunctionToolType$outboundSchema: z.ZodNativeEnum<typeof FunctionToolType>;
/** @internal */
export declare const FunctionTool$inboundSchema: z.ZodType<FunctionTool, z.ZodTypeDef, unknown>;
/** @internal */
export type FunctionTool$Outbound = {
    type: string;
    function: FunctionT$Outbound;
};
/** @internal */
export declare const FunctionTool$outboundSchema: z.ZodType<FunctionTool$Outbound, z.ZodTypeDef, FunctionTool>;
export declare function functionToolToJSON(functionTool: FunctionTool): string;
export declare function functionToolFromJSON(jsonString: string): SafeParseResult<FunctionTool, SDKValidationError>;
//# sourceMappingURL=functiontool.d.ts.map