import * as z from "zod/v3"; import { OpenEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Parameter type (string, number, boolean, object, array) */ export declare const ToolParameterType: { readonly String: "string"; readonly Number: "number"; readonly Boolean: "boolean"; readonly Object: "object"; readonly Array: "array"; }; /** * Parameter type (string, number, boolean, object, array) */ export type ToolParameterType = OpenEnum; export type ToolParameter = { /** * Parameter type (string, number, boolean, object, array) */ type?: ToolParameterType | undefined; /** * The name of the parameter */ name?: string | undefined; /** * The description of the parameter */ description?: string | undefined; /** * Whether the parameter is required */ isRequired?: boolean | undefined; /** * The possible values for the parameter. Can contain only primitive values or arrays of primitive values. */ possibleValues?: Array | undefined; items?: ToolParameter | undefined; /** * When type is 'object', this describes the structure of the object. */ properties?: { [k: string]: ToolParameter; } | undefined; }; /** @internal */ export declare const ToolParameterType$inboundSchema: z.ZodType; /** @internal */ export declare const ToolParameter$inboundSchema: z.ZodType; export declare function toolParameterFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=toolparameter.d.ts.map