import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import * as operations from "../models/operations/index.js"; export declare class Models extends ClientSDK { /** * List available models * * @remarks * Lists the currently available models. Provides basic information about each model including its ID and owner. */ list(request: operations.ListModelsRequest, options?: RequestOptions): Promise; /** * Retrieve a model * * @remarks * Retrieves a model instance, providing basic information about the model such as the owner and supported capabilities. */ get(request: operations.GetModelRequest, options?: RequestOptions): Promise; /** * List the organization's model catalog * * @remarks * Lists all BYO, serving, and cluster-access definitions with activation state, blocker, health, and price preview. */ listCatalog(options?: RequestOptions): Promise; /** * Define a BYO catalog model * * @remarks * Creates an API-owned BYO definition without activating its name. */ addCatalogEntry(request: components.AddCatalogModelRequest, options?: RequestOptions): Promise; /** * Update a BYO catalog model * * @remarks * Updates an API-owned BYO definition; yaml-origin entries are file-managed and immutable through this API. */ updateCatalogEntry(request: components.UpdateCatalogModelRequest, options?: RequestOptions): Promise; /** * Remove a BYO catalog model * * @remarks * Withdraws a BYO definition and deactivates it only when the active name is sourced from that BYO lineage. */ deleteCatalogEntry(request: operations.DeleteModelCatalogEntryRequest, options?: RequestOptions): Promise; /** * Check a BYO catalog model's health * * @remarks * Probes an available BYO definition whether or not it is active. */ checkCatalogHealth(request: operations.CheckModelCatalogHealthRequest, options?: RequestOptions): Promise; /** * List an organization's cluster model access * * @remarks * Cluster operator view of an org's available cluster catalog entries and their activation state. */ listCatalogOrgAccess(request: operations.ListModelCatalogOrgAccessRequest, options?: RequestOptions): Promise; /** * Add cluster model access for an organization * * @remarks * Idempotently adds availability without activating or revoking any model names. */ addCatalogOrgAccess(request: operations.AddModelCatalogOrgAccessRequest, options?: RequestOptions): Promise; /** * Replace an organization's cluster model access * * @remarks * Serializable full replacement; revoked active cluster names are deactivated and their org price rows are closed. */ replaceCatalogOrgAccess(request: operations.ReplaceModelCatalogOrgAccessRequest, options?: RequestOptions): Promise; /** * List organizations with access to a cluster model * * @remarks * Cluster operator reverse lookup showing availability and activation for one cluster catalog id. */ listCatalogModelAccess(request: operations.ListModelCatalogAccessRequest, options?: RequestOptions): Promise; /** * List the organization's active model registry * * @remarks * Single management view of every active name with source-qualified definition, health, price, and activation audit details. */ listRegistry(options?: RequestOptions): Promise; /** * Activate a catalog entry * * @remarks * Claims a model name from one catalog source. Re-activation from the same source is idempotent; a different holder returns 409. */ activateRegistryEntry(request: components.ActivateRegistryEntryRequest, options?: RequestOptions): Promise; /** * Deactivate a model registry name * * @remarks * Idempotently removes the active name and closes its org-scope price rows without touching the catalog definition. */ deactivateRegistryEntry(request: operations.DeactivateModelRegistryEntryRequest, options?: RequestOptions): Promise; /** * List this org's auto-model overrides * * @remarks * Returns every endpoint for which this org has set its own `"auto"` target. Endpoints not listed fall through to the operator's YAML defaults. */ listOrgAutoModels(options?: RequestOptions): Promise; /** * Set this org's auto-model override for an endpoint * * @remarks * Stores `{ endpoint → modelId }` so subsequent requests with `model: "auto"` for the endpoint resolve to `modelId` instead of the operator's YAML default. The target must (a) not be the literal string `"auto"`, (b) be active in this org's model registry, and (c) have the same `apiFormat` as the endpoint. */ putOrgAutoModel(request: operations.PutOrgAutoModelRequest, options?: RequestOptions): Promise; /** * Clear this org's auto-model override for an endpoint * * @remarks * Removes the per-org override for the endpoint. Subsequent `model: "auto"` requests fall through to the operator's YAML default again. */ deleteOrgAutoModel(request: operations.DeleteOrgAutoModelRequest, options?: RequestOptions): Promise; /** * Get the cluster currency * * @remarks * Returns the single cluster-wide ISO-4217 currency code (null if not set). */ getClusterCurrency(options?: RequestOptions): Promise; /** * Set the cluster currency * * @remarks * Sets the cluster-wide currency. Changing it does not auto-convert existing prices. */ setClusterCurrency(request: components.PutClusterCurrencyBody, options?: RequestOptions): Promise; /** * List cluster-default model prices * * @remarks * Without `model`, lists every model's current cluster-default price. With `model`, returns that model's full dated history. */ listClusterPrices(request: operations.ListClusterPricesRequest, options?: RequestOptions): Promise; /** * Set a cluster-default model price * * @remarks * Upserts the cluster-default price for a model as a new dated version. `rates` is a flexible metric→rate map; omitted metrics are not charged. */ setClusterPrice(request: components.PutModelPriceBody, options?: RequestOptions): Promise; /** * Clear a cluster-default model price * * @remarks * Closes the cluster-default price. Active cluster lineage then uses an org override or becomes unpriced ($0). */ clearClusterPrice(request: operations.ClearClusterPriceRequest, options?: RequestOptions): Promise; /** * List an org's price overrides * * @remarks * Without `model`, lists the org's current overrides. With `model`, returns that override's dated history. */ listOrgPrices(request: operations.ListOrgPricesRequest, options?: RequestOptions): Promise; /** * Set an org price override * * @remarks * Upserts a dated per-org price. Cluster lineage falls back to the cluster default; BYO and serving lineage become unpriced when no org row exists. */ setOrgPrice(request: operations.SetOrgPriceRequest, options?: RequestOptions): Promise; /** * Clear an org price override * * @remarks * Closes a per-org price. Only active cluster lineage can then fall back to the cluster default. */ clearOrgPrice(request: operations.ClearOrgPriceRequest, options?: RequestOptions): Promise; /** * List effective prices for the caller's models * * @remarks * For every active model, returns its registry-aware price: an org row, a cluster default for cluster lineage, or unpriced ($0). */ listEffectivePrices(request: operations.ListEffectivePricesRequest, options?: RequestOptions): Promise; } //# sourceMappingURL=models.d.ts.map