import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as models from "../models/index.js"; import * as operations from "../models/operations/index.js"; export declare class ProviderConfigs extends ClientSDK { /** * List provider configs * * @remarks * Get all provider configurations filtered by scope. API keys are masked in responses. */ listProviders(request?: operations.ListProvidersRequest | undefined, options?: RequestOptions): Promise; /** * Create provider config * * @remarks * Create a new provider configuration. The credential is tested against the live provider BEFORE it is persisted — a failed test returns the provider's own error, scrubbed of the submitted secret, and writes no row. On success the API key is encrypted before storage and is never returned in plain text. */ createProvider(request: models.NameProviderApiKey, options?: RequestOptions): Promise; /** * List available models * * @remarks * Returns available LLM models based on configured provider types. Uses a static registry - does not call provider APIs. */ listAvailableModels(options?: RequestOptions): Promise; /** * Get provider config * * @remarks * Get provider configuration details by ID. API key is masked. */ getProvider(request: operations.GetProviderRequest, options?: RequestOptions): Promise; /** * Update provider config * * @remarks * Update an existing provider configuration. If API key is provided, it will be re-encrypted. */ updateProvider(request: operations.UpdateProviderRequest, options?: RequestOptions): Promise; /** * Delete provider config * * @remarks * Delete a provider configuration. */ deleteProvider(request: operations.DeleteProviderRequest, options?: RequestOptions): Promise; /** * Get models catalog * * @remarks * Returns the union of static known models and declared provider models for a workspace. Used by the optimizer dropdown. */ getModelsCatalog(options?: RequestOptions): Promise; /** * List a provider configuration models * * @remarks * The models this provider configuration offers, listed live from the provider and narrowed to the catalog's allow-list policy, with this workspace's per-model enablement applied. When the provider cannot be reached the stored allow-list is returned with `degraded: true` and the reason — an empty list is never presented as 'no models'. */ listProviderModels(request: operations.ListProviderModelsRequest, options?: RequestOptions): Promise; /** * Test provider connection * * @remarks * Test the connection to the provider using the configured API key. Returns success/failure with details. */ testProvider(request: operations.TestProviderRequest, options?: RequestOptions): Promise; } //# sourceMappingURL=provider-configs.d.ts.map