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 declare const ListModelsObject: {
    readonly List: "list";
};
export type ListModelsObject = ClosedEnum<typeof ListModelsObject>;
/**
 * The modality of the model
 */
export declare const ListModelsType: {
    readonly Chat: "chat";
    readonly Completion: "completion";
    readonly Embedding: "embedding";
    readonly Image: "image";
    readonly Tts: "tts";
    readonly Stt: "stt";
    readonly Rerank: "rerank";
    readonly Ocr: "ocr";
    readonly Moderation: "moderation";
    readonly Vision: "vision";
};
/**
 * The modality of the model
 */
export type ListModelsType = ClosedEnum<typeof ListModelsType>;
/**
 * Describe the provider of the model. Every model with `vendor` is publicly available, while models with `workspace` are private.
 */
export declare const OwnedBy: {
    readonly Vendor: "vendor";
    readonly Workspace: "workspace";
};
/**
 * Describe the provider of the model. Every model with `vendor` is publicly available, while models with `workspace` are private.
 */
export type OwnedBy = ClosedEnum<typeof OwnedBy>;
/**
 * Describes a model offering that can be used with the API
 */
export type ListModelsData = {
    /**
     * The model identifier, which can be referenced in the API endpoints.
     */
    id: string;
    /**
     * The timestamp of the model creation
     */
    created: number;
    /**
     * The modality of the model
     */
    type: ListModelsType;
    /**
     * Describe the provider of the model. Every model with `vendor` is publicly available, while models with `workspace` are private.
     */
    ownedBy: OwnedBy;
};
/**
 * A list of model objects.
 */
export type ListModelsResponseBody = {
    object: ListModelsObject;
    data: Array<ListModelsData>;
    hasMore: boolean;
};
/** @internal */
export declare const ListModelsObject$inboundSchema: z.ZodNativeEnum<typeof ListModelsObject>;
/** @internal */
export declare const ListModelsType$inboundSchema: z.ZodNativeEnum<typeof ListModelsType>;
/** @internal */
export declare const OwnedBy$inboundSchema: z.ZodNativeEnum<typeof OwnedBy>;
/** @internal */
export declare const ListModelsData$inboundSchema: z.ZodType<ListModelsData, z.ZodTypeDef, unknown>;
export declare function listModelsDataFromJSON(jsonString: string): SafeParseResult<ListModelsData, SDKValidationError>;
/** @internal */
export declare const ListModelsResponseBody$inboundSchema: z.ZodType<ListModelsResponseBody, z.ZodTypeDef, unknown>;
export declare function listModelsResponseBodyFromJSON(jsonString: string): SafeParseResult<ListModelsResponseBody, SDKValidationError>;
//# sourceMappingURL=listmodels.d.ts.map