import * as z from "zod/v4-mini"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdk-validation-error.js"; export type ProviderConfigSupportedModel = { /** * Model identifier */ id: string; displayName?: string | undefined; family?: string | undefined; roles?: Array | undefined; source?: string | undefined; }; /** * Provider config object (API key is masked) */ export type ProviderConfig = { /** * Provider config unique identifier */ id: string; /** * Display name */ name: string; /** * Provider type */ provider: string; /** * Masked API key (e.g., "sk-...abc123") */ apiKeyMasked: string; /** * Workspace this configuration belongs to */ workspaceId: string; /** * Custom base URL */ baseUrl: string | null; /** * Model name mappings */ modelOverrides: { [k: string]: string; } | null; /** * Whether the config is active */ isActive: boolean; /** * Whether this is the default for its workspace */ isDefault: boolean; /** * Hosted model family for gateway entries: 'openai' | 'anthropic' | 'inference'; null for direct providers */ hostedFamily: string | null; /** * Declared models this provider serves */ supportedModels: Array | null; /** * API version string */ apiVersion: string | null; /** * Additional metadata */ metadata: { [k: string]: any; } | null; /** * User ID of the creator */ createdBy: string | null; /** * Creation timestamp (ISO 8601) */ createdAt: Date; /** * Last update timestamp (ISO 8601) */ updatedAt: Date; }; /** @internal */ export declare const ProviderConfigSupportedModel$inboundSchema: z.ZodMiniType; export declare function providerConfigSupportedModelFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ProviderConfig$inboundSchema: z.ZodMiniType; export declare function providerConfigFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=provider-config.d.ts.map