/** * ═══════════════════════════════════════════════════════════════════════════ * ⚠️ CRITICAL WARNING ⚠️ * ═══════════════════════════════════════════════════════════════════════════ * * THE API SERVER MUST BE RE-DEPLOYED WHENEVER THIS SCHEMA IS UPDATED! * * This schema is used by both the extension and the API server for validation. * Any changes here require a coordinated deployment to avoid validation errors. * * ═══════════════════════════════════════════════════════════════════════════ */ import { z } from "zod"; export declare const OpenAiCompatibleModelSchema: z.ZodObject<{ id: z.ZodString; temperature: z.ZodOptional; maxTokens: z.ZodOptional; contextWindow: z.ZodOptional; inputPrice: z.ZodOptional; outputPrice: z.ZodOptional; supportsImages: z.ZodOptional; }, z.core.$strip>; export declare const OpenAiCompatibleSchema: z.ZodObject<{ models: z.ZodOptional; maxTokens: z.ZodOptional; contextWindow: z.ZodOptional; inputPrice: z.ZodOptional; outputPrice: z.ZodOptional; supportsImages: z.ZodOptional; }, z.core.$strip>>>; openAiBaseUrl: z.ZodOptional; openAiHeaders: z.ZodOptional>; azureApiVersion: z.ZodOptional; azureIdentity: z.ZodOptional; }, z.core.$strip>; export declare const AwsBedrockModelSchema: z.ZodObject<{ id: z.ZodString; thinkingBudgetTokens: z.ZodOptional; }, z.core.$strip>; export declare const AwsBedrockCustomModelSchema: z.ZodObject<{ name: z.ZodString; baseModelId: z.ZodString; thinkingBudgetTokens: z.ZodOptional; }, z.core.$strip>; export declare const AwsBedrockSettingsSchema: z.ZodObject<{ models: z.ZodOptional; }, z.core.$strip>>>; customModels: z.ZodOptional; }, z.core.$strip>>>; awsRegion: z.ZodOptional; awsUseCrossRegionInference: z.ZodOptional; awsUseGlobalInference: z.ZodOptional; awsBedrockUsePromptCache: z.ZodOptional; awsBedrockEndpoint: z.ZodOptional; }, z.core.$strip>; export declare const ClineModelSchema: z.ZodObject<{ id: z.ZodString; }, z.core.$strip>; export declare const ClineSettingsSchema: z.ZodObject<{ models: z.ZodOptional>>; }, z.core.$strip>; export declare const VertexModelSchema: z.ZodObject<{ id: z.ZodString; thinkingBudgetTokens: z.ZodOptional; }, z.core.$strip>; export declare const VertexSettingsSchema: z.ZodObject<{ models: z.ZodOptional; }, z.core.$strip>>>; vertexProjectId: z.ZodOptional; vertexRegion: z.ZodOptional; }, z.core.$strip>; export declare const LiteLLMModelSchema: z.ZodObject<{ id: z.ZodString; thinkingBudgetTokens: z.ZodOptional; promptCachingEnabled: z.ZodOptional; }, z.core.$strip>; export declare const LiteLLMSchema: z.ZodObject<{ models: z.ZodOptional; promptCachingEnabled: z.ZodOptional; }, z.core.$strip>>>; baseUrl: z.ZodOptional; }, z.core.$strip>; export declare const AnthropicModelSchema: z.ZodObject<{ id: z.ZodString; thinkingBudgetTokens: z.ZodOptional; }, z.core.$strip>; export declare const AnthropicSchema: z.ZodObject<{ models: z.ZodOptional; }, z.core.$strip>>>; baseUrl: z.ZodOptional; }, z.core.$strip>; declare const ProviderSettingsSchema: z.ZodObject<{ OpenAiCompatible: z.ZodOptional; maxTokens: z.ZodOptional; contextWindow: z.ZodOptional; inputPrice: z.ZodOptional; outputPrice: z.ZodOptional; supportsImages: z.ZodOptional; }, z.core.$strip>>>; openAiBaseUrl: z.ZodOptional; openAiHeaders: z.ZodOptional>; azureApiVersion: z.ZodOptional; azureIdentity: z.ZodOptional; }, z.core.$strip>>; AwsBedrock: z.ZodOptional; }, z.core.$strip>>>; customModels: z.ZodOptional; }, z.core.$strip>>>; awsRegion: z.ZodOptional; awsUseCrossRegionInference: z.ZodOptional; awsUseGlobalInference: z.ZodOptional; awsBedrockUsePromptCache: z.ZodOptional; awsBedrockEndpoint: z.ZodOptional; }, z.core.$strip>>; Cline: z.ZodOptional>>; }, z.core.$strip>>; Vertex: z.ZodOptional; }, z.core.$strip>>>; vertexProjectId: z.ZodOptional; vertexRegion: z.ZodOptional; }, z.core.$strip>>; LiteLLM: z.ZodOptional; promptCachingEnabled: z.ZodOptional; }, z.core.$strip>>>; baseUrl: z.ZodOptional; }, z.core.$strip>>; Anthropic: z.ZodOptional; }, z.core.$strip>>>; baseUrl: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; export declare const AllowedMCPServerSchema: z.ZodObject<{ id: z.ZodString; }, z.core.$strip>; export declare const RemoteMCPServerSchema: z.ZodObject<{ name: z.ZodString; url: z.ZodString; alwaysEnabled: z.ZodOptional; headers: z.ZodOptional>; }, z.core.$strip>; export declare const GlobalInstructionsFileSchema: z.ZodObject<{ alwaysEnabled: z.ZodBoolean; name: z.ZodString; contents: z.ZodString; }, z.core.$strip>; export declare const S3AccessKeySettingsSchema: z.ZodObject<{ bucket: z.ZodString; accessKeyId: z.ZodString; secretAccessKey: z.ZodString; region: z.ZodOptional; endpoint: z.ZodOptional; accountId: z.ZodOptional; }, z.core.$strip>; export declare const PromptUploadingSchema: z.ZodObject<{ enabled: z.ZodOptional; type: z.ZodOptional, z.ZodLiteral<"r2_access_keys">, z.ZodLiteral<"azure_access_keys">]>>; s3AccessSettings: z.ZodOptional; endpoint: z.ZodOptional; accountId: z.ZodOptional; }, z.core.$strip>>; r2AccessSettings: z.ZodOptional; endpoint: z.ZodOptional; accountId: z.ZodOptional; }, z.core.$strip>>; azureAccessSettings: z.ZodOptional; endpoint: z.ZodOptional; accountId: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; export declare const EnterpriseTelemetrySchema: z.ZodObject<{ promptUploading: z.ZodOptional; type: z.ZodOptional, z.ZodLiteral<"r2_access_keys">, z.ZodLiteral<"azure_access_keys">]>>; s3AccessSettings: z.ZodOptional; endpoint: z.ZodOptional; accountId: z.ZodOptional; }, z.core.$strip>>; r2AccessSettings: z.ZodOptional; endpoint: z.ZodOptional; accountId: z.ZodOptional; }, z.core.$strip>>; azureAccessSettings: z.ZodOptional; endpoint: z.ZodOptional; accountId: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>; export declare const RemoteConfigSchema: z.ZodObject<{ version: z.ZodString; providerSettings: z.ZodOptional; maxTokens: z.ZodOptional; contextWindow: z.ZodOptional; inputPrice: z.ZodOptional; outputPrice: z.ZodOptional; supportsImages: z.ZodOptional; }, z.core.$strip>>>; openAiBaseUrl: z.ZodOptional; openAiHeaders: z.ZodOptional>; azureApiVersion: z.ZodOptional; azureIdentity: z.ZodOptional; }, z.core.$strip>>; AwsBedrock: z.ZodOptional; }, z.core.$strip>>>; customModels: z.ZodOptional; }, z.core.$strip>>>; awsRegion: z.ZodOptional; awsUseCrossRegionInference: z.ZodOptional; awsUseGlobalInference: z.ZodOptional; awsBedrockUsePromptCache: z.ZodOptional; awsBedrockEndpoint: z.ZodOptional; }, z.core.$strip>>; Cline: z.ZodOptional>>; }, z.core.$strip>>; Vertex: z.ZodOptional; }, z.core.$strip>>>; vertexProjectId: z.ZodOptional; vertexRegion: z.ZodOptional; }, z.core.$strip>>; LiteLLM: z.ZodOptional; promptCachingEnabled: z.ZodOptional; }, z.core.$strip>>>; baseUrl: z.ZodOptional; }, z.core.$strip>>; Anthropic: z.ZodOptional; }, z.core.$strip>>>; baseUrl: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; telemetryEnabled: z.ZodOptional; kanbanEnabled: z.ZodOptional; mcpMarketplaceEnabled: z.ZodOptional; allowedMCPServers: z.ZodOptional>>; remoteMCPServers: z.ZodOptional; headers: z.ZodOptional>; }, z.core.$strip>>>; blockPersonalRemoteMCPServers: z.ZodOptional; yoloModeAllowed: z.ZodOptional; openTelemetryEnabled: z.ZodOptional; openTelemetryMetricsExporter: z.ZodOptional; openTelemetryLogsExporter: z.ZodOptional; openTelemetryOtlpProtocol: z.ZodOptional; openTelemetryOtlpEndpoint: z.ZodOptional; openTelemetryOtlpHeaders: z.ZodOptional>; openTelemetryOtlpMetricsProtocol: z.ZodOptional; openTelemetryOtlpMetricsEndpoint: z.ZodOptional; openTelemetryOtlpMetricsHeaders: z.ZodOptional>; openTelemetryOtlpLogsProtocol: z.ZodOptional; openTelemetryOtlpLogsEndpoint: z.ZodOptional; openTelemetryOtlpLogsHeaders: z.ZodOptional>; openTelemetryMetricExportInterval: z.ZodOptional; openTelemetryOtlpInsecure: z.ZodOptional; openTelemetryLogBatchSize: z.ZodOptional; openTelemetryLogBatchTimeout: z.ZodOptional; openTelemetryLogMaxQueueSize: z.ZodOptional; enterpriseTelemetry: z.ZodOptional; type: z.ZodOptional, z.ZodLiteral<"r2_access_keys">, z.ZodLiteral<"azure_access_keys">]>>; s3AccessSettings: z.ZodOptional; endpoint: z.ZodOptional; accountId: z.ZodOptional; }, z.core.$strip>>; r2AccessSettings: z.ZodOptional; endpoint: z.ZodOptional; accountId: z.ZodOptional; }, z.core.$strip>>; azureAccessSettings: z.ZodOptional; endpoint: z.ZodOptional; accountId: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>>; globalRules: z.ZodOptional>>; globalWorkflows: z.ZodOptional>>; }, z.core.$strip>; export declare const APIKeySchema: z.ZodRecord; export type RemoteConfig = z.infer; export type MCPServer = z.infer; export type RemoteMCPServer = z.infer; export type GlobalInstructionsFile = z.infer; export type ProviderSettings = z.infer; export type OpenAiCompatible = z.infer; export type OpenAiCompatibleModel = z.infer; export type AwsBedrockSettings = z.infer; export type AwsBedrockModel = z.infer; export type AwsBedrockCustomModel = z.infer; export type VertexSettings = z.infer; export type VertexModel = z.infer; export type LiteLLMSettings = z.infer; export type LiteLLMModel = z.infer; export type AnthropicSettings = z.infer; export type AnthropicModel = z.infer; export type APIKeySettings = z.infer; export type EnterpriseTelemetry = z.infer; export type PromptUploading = z.infer; export type S3AccessKeySettings = z.infer; export {};