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"; export type GetModelRequest = { modelId: string; /** * Optional external end-user identifier forwarded by the API gateway. */ xOnBehalfOf?: string | undefined; }; export declare const ModelType: { readonly Llm: "llm"; readonly Embeddings: "embeddings"; readonly Images: "images"; readonly SpeechToText: "speech_to_text"; readonly TextToSpeech: "text_to_speech"; }; export type ModelType = ClosedEnum; /** * Curated public sampling capabilities for this model. */ export type Capabilities = { /** * Whether an LLM accepts the temperature parameter on chat-shaped generation routes; false for non-LLM models. */ supportsTemperature: boolean; /** * Whether an LLM accepts the top_p parameter on chat-shaped generation routes; false for non-LLM models. */ supportsTopP: boolean; }; /** * OK */ export type GetModelResponseBody = { id: string; object: "model"; created: number; ownedBy: string; modelType: ModelType; /** * Curated public sampling capabilities for this model. */ capabilities: Capabilities; }; /** @internal */ export declare const GetModelRequest$inboundSchema: z.ZodType; /** @internal */ export type GetModelRequest$Outbound = { model_id: string; "X-On-Behalf-Of"?: string | undefined; }; /** @internal */ export declare const GetModelRequest$outboundSchema: z.ZodType; export declare function getModelRequestToJSON(getModelRequest: GetModelRequest): string; export declare function getModelRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ModelType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ModelType$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const Capabilities$inboundSchema: z.ZodType; /** @internal */ export type Capabilities$Outbound = { supports_temperature: boolean; supports_top_p: boolean; }; /** @internal */ export declare const Capabilities$outboundSchema: z.ZodType; export declare function capabilitiesToJSON(capabilities: Capabilities): string; export declare function capabilitiesFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetModelResponseBody$inboundSchema: z.ZodType; /** @internal */ export type GetModelResponseBody$Outbound = { id: string; object: "model"; created: number; owned_by: string; model_type: string; capabilities: Capabilities$Outbound; }; /** @internal */ export declare const GetModelResponseBody$outboundSchema: z.ZodType; export declare function getModelResponseBodyToJSON(getModelResponseBody: GetModelResponseBody): string; export declare function getModelResponseBodyFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getmodel.d.ts.map