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 ListModelsRequest = { /** * Optional external end-user identifier forwarded by the API gateway. */ xOnBehalfOf?: string | undefined; }; export declare const ListModelsModelType: { readonly Llm: "llm"; readonly Embeddings: "embeddings"; readonly Images: "images"; readonly SpeechToText: "speech_to_text"; readonly TextToSpeech: "text_to_speech"; }; export type ListModelsModelType = ClosedEnum; /** * Curated public sampling capabilities for this model. */ export type ListModelsCapabilities = { /** * 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; }; export type ListModelsData = { id: string; object: "model"; created: number; ownedBy: string; modelType: ListModelsModelType; /** * Curated public sampling capabilities for this model. */ capabilities: ListModelsCapabilities; }; /** * OK */ export type ListModelsResponseBody = { object: "list"; data: Array; }; /** @internal */ export declare const ListModelsRequest$inboundSchema: z.ZodType; /** @internal */ export type ListModelsRequest$Outbound = { "X-On-Behalf-Of"?: string | undefined; }; /** @internal */ export declare const ListModelsRequest$outboundSchema: z.ZodType; export declare function listModelsRequestToJSON(listModelsRequest: ListModelsRequest): string; export declare function listModelsRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ListModelsModelType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ListModelsModelType$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ListModelsCapabilities$inboundSchema: z.ZodType; /** @internal */ export type ListModelsCapabilities$Outbound = { supports_temperature: boolean; supports_top_p: boolean; }; /** @internal */ export declare const ListModelsCapabilities$outboundSchema: z.ZodType; export declare function listModelsCapabilitiesToJSON(listModelsCapabilities: ListModelsCapabilities): string; export declare function listModelsCapabilitiesFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ListModelsData$inboundSchema: z.ZodType; /** @internal */ export type ListModelsData$Outbound = { id: string; object: "model"; created: number; owned_by: string; model_type: string; capabilities: ListModelsCapabilities$Outbound; }; /** @internal */ export declare const ListModelsData$outboundSchema: z.ZodType; export declare function listModelsDataToJSON(listModelsData: ListModelsData): string; export declare function listModelsDataFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ListModelsResponseBody$inboundSchema: z.ZodType; /** @internal */ export type ListModelsResponseBody$Outbound = { object: "list"; data: Array; }; /** @internal */ export declare const ListModelsResponseBody$outboundSchema: z.ZodType; export declare function listModelsResponseBodyToJSON(listModelsResponseBody: ListModelsResponseBody): string; export declare function listModelsResponseBodyFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=listmodels.d.ts.map