import { z } from 'zod'; export declare enum AIProviderName { OPENAI = "openai", OPENROUTER = "openrouter", ANTHROPIC = "anthropic", AZURE = "azure", GOOGLE = "google", ACTIVEPIECES = "activepieces", CLOUDFLARE_GATEWAY = "cloudflare-gateway", CUSTOM = "custom" } export declare enum AIProviderModelType { IMAGE = "image", TEXT = "text" } export declare const BaseAIProviderAuthConfig: z.ZodObject<{ apiKey: z.ZodString; }, z.core.$strip>; export type BaseAIProviderAuthConfig = z.infer; export declare const AnthropicProviderAuthConfig: z.ZodObject<{ apiKey: z.ZodString; }, z.core.$strip>; export type AnthropicProviderAuthConfig = z.infer; export declare const ActivePiecesProviderAuthConfig: z.ZodObject<{ apiKey: z.ZodString; apiKeyHash: z.ZodString; }, z.core.$strip>; export type ActivePiecesProviderAuthConfig = z.infer; export declare const OpenAICompatibleProviderAuthConfig: z.ZodObject<{ apiKey: z.ZodString; }, z.core.$strip>; export type OpenAICompatibleProviderAuthConfig = z.infer; export declare const CloudflareGatewayProviderAuthConfig: z.ZodObject<{ apiKey: z.ZodString; }, z.core.$strip>; export type CloudflareGatewayProviderAuthConfig = z.infer; export declare const AzureProviderAuthConfig: z.ZodObject<{ apiKey: z.ZodString; }, z.core.$strip>; export type AzureProviderAuthConfig = z.infer; export declare const GoogleProviderAuthConfig: z.ZodObject<{ apiKey: z.ZodString; }, z.core.$strip>; export type GoogleProviderAuthConfig = z.infer; export declare const OpenAIProviderAuthConfig: z.ZodObject<{ apiKey: z.ZodString; }, z.core.$strip>; export type OpenAIProviderAuthConfig = z.infer; export declare const OpenRouterProviderAuthConfig: z.ZodObject<{ apiKey: z.ZodString; }, z.core.$strip>; export type OpenRouterProviderAuthConfig = z.infer; export declare const AnthropicProviderConfig: z.ZodObject<{}, z.core.$strip>; export type AnthropicProviderConfig = z.infer; export declare const ActivePiecesProviderConfig: z.ZodObject<{}, z.core.$strip>; export type ActivePiecesProviderConfig = z.infer; export declare const ProviderModelConfig: z.ZodObject<{ modelId: z.ZodString; modelName: z.ZodString; modelType: z.ZodEnum; }, z.core.$strip>; export type ProviderModelConfig = z.infer; export declare const OpenAICompatibleProviderConfig: z.ZodObject<{ apiKeyHeader: z.ZodString; baseUrl: z.ZodString; models: z.ZodArray; }, z.core.$strip>>; defaultHeaders: z.ZodOptional>; }, z.core.$strip>; export type OpenAICompatibleProviderConfig = z.infer; export declare const CloudflareGatewayProviderConfig: z.ZodObject<{ accountId: z.ZodString; gatewayId: z.ZodString; models: z.ZodArray; }, z.core.$strip>>; vertexProject: z.ZodOptional; vertexRegion: z.ZodOptional; }, z.core.$strip>; export type CloudflareGatewayProviderConfig = z.infer; export declare const AzureProviderConfig: z.ZodObject<{ resourceName: z.ZodString; }, z.core.$strip>; export type AzureProviderConfig = z.infer; export declare const GoogleProviderConfig: z.ZodObject<{}, z.core.$strip>; export type GoogleProviderConfig = z.infer; export declare const OpenAIProviderConfig: z.ZodObject<{}, z.core.$strip>; export type OpenAIProviderConfig = z.infer; export declare const OpenRouterProviderConfig: z.ZodObject<{}, z.core.$strip>; export type OpenRouterProviderConfig = z.infer; export declare const AIProviderAuthConfig: z.ZodUnion, z.ZodObject<{ apiKey: z.ZodString; }, z.core.$strip>, z.ZodObject<{ apiKey: z.ZodString; }, z.core.$strip>, z.ZodObject<{ apiKey: z.ZodString; }, z.core.$strip>, z.ZodObject<{ apiKey: z.ZodString; }, z.core.$strip>, z.ZodObject<{ apiKey: z.ZodString; }, z.core.$strip>, z.ZodObject<{ apiKey: z.ZodString; }, z.core.$strip>, z.ZodObject<{ apiKey: z.ZodString; apiKeyHash: z.ZodString; }, z.core.$strip>]>; export type AIProviderAuthConfig = z.infer; export declare const AIProviderConfig: z.ZodUnion; }, z.core.$strip>>; defaultHeaders: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ accountId: z.ZodString; gatewayId: z.ZodString; models: z.ZodArray; }, z.core.$strip>>; vertexProject: z.ZodOptional; vertexRegion: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ resourceName: z.ZodString; }, z.core.$strip>, z.ZodObject<{}, z.core.$strip>, z.ZodObject<{}, z.core.$strip>, z.ZodObject<{}, z.core.$strip>, z.ZodObject<{}, z.core.$strip>, z.ZodObject<{}, z.core.$strip>]>; export type AIProviderConfig = z.infer; export declare const AIProvider: z.ZodIntersection, z.ZodString>; updated: z.ZodPipe, z.ZodString>; }, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{ displayName: z.ZodString; provider: z.ZodLiteral; config: z.ZodObject<{}, z.core.$strip>; auth: z.ZodObject<{ apiKey: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ displayName: z.ZodString; provider: z.ZodLiteral; config: z.ZodObject<{}, z.core.$strip>; auth: z.ZodObject<{ apiKey: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ displayName: z.ZodString; provider: z.ZodLiteral; config: z.ZodObject<{}, z.core.$strip>; auth: z.ZodObject<{ apiKey: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ displayName: z.ZodString; provider: z.ZodLiteral; config: z.ZodObject<{ resourceName: z.ZodString; }, z.core.$strip>; auth: z.ZodObject<{ apiKey: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ displayName: z.ZodString; provider: z.ZodLiteral; config: z.ZodObject<{}, z.core.$strip>; auth: z.ZodObject<{ apiKey: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ displayName: z.ZodString; provider: z.ZodLiteral; config: z.ZodObject<{ accountId: z.ZodString; gatewayId: z.ZodString; models: z.ZodArray; }, z.core.$strip>>; vertexProject: z.ZodOptional; vertexRegion: z.ZodOptional; }, z.core.$strip>; auth: z.ZodObject<{ apiKey: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ displayName: z.ZodString; provider: z.ZodLiteral; config: z.ZodObject<{ apiKeyHeader: z.ZodString; baseUrl: z.ZodString; models: z.ZodArray; }, z.core.$strip>>; defaultHeaders: z.ZodOptional>; }, z.core.$strip>; auth: z.ZodObject<{ apiKey: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ displayName: z.ZodString; provider: z.ZodLiteral; config: z.ZodObject<{}, z.core.$strip>; auth: z.ZodObject<{ apiKey: z.ZodString; apiKeyHash: z.ZodString; }, z.core.$strip>; }, z.core.$strip>], "provider">>; export type AIProvider = z.infer; export declare const AIProviderWithoutSensitiveData: z.ZodObject<{ id: z.ZodString; name: z.ZodString; provider: z.ZodEnum; config: z.ZodUnion; }, z.core.$strip>>; defaultHeaders: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ accountId: z.ZodString; gatewayId: z.ZodString; models: z.ZodArray; }, z.core.$strip>>; vertexProject: z.ZodOptional; vertexRegion: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ resourceName: z.ZodString; }, z.core.$strip>, z.ZodObject<{}, z.core.$strip>, z.ZodObject<{}, z.core.$strip>, z.ZodObject<{}, z.core.$strip>, z.ZodObject<{}, z.core.$strip>, z.ZodObject<{}, z.core.$strip>]>; }, z.core.$strip>; export type AIProviderWithoutSensitiveData = z.infer; export declare const AIProviderModel: z.ZodObject<{ id: z.ZodString; name: z.ZodString; type: z.ZodEnum; }, z.core.$strip>; export type AIProviderModel = z.infer; export declare const CreateAIProviderRequest: z.ZodDiscriminatedUnion<[z.ZodObject<{ displayName: z.ZodString; provider: z.ZodLiteral; config: z.ZodObject<{}, z.core.$strip>; auth: z.ZodObject<{ apiKey: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ displayName: z.ZodString; provider: z.ZodLiteral; config: z.ZodObject<{}, z.core.$strip>; auth: z.ZodObject<{ apiKey: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ displayName: z.ZodString; provider: z.ZodLiteral; config: z.ZodObject<{}, z.core.$strip>; auth: z.ZodObject<{ apiKey: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ displayName: z.ZodString; provider: z.ZodLiteral; config: z.ZodObject<{ resourceName: z.ZodString; }, z.core.$strip>; auth: z.ZodObject<{ apiKey: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ displayName: z.ZodString; provider: z.ZodLiteral; config: z.ZodObject<{}, z.core.$strip>; auth: z.ZodObject<{ apiKey: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ displayName: z.ZodString; provider: z.ZodLiteral; config: z.ZodObject<{ accountId: z.ZodString; gatewayId: z.ZodString; models: z.ZodArray; }, z.core.$strip>>; vertexProject: z.ZodOptional; vertexRegion: z.ZodOptional; }, z.core.$strip>; auth: z.ZodObject<{ apiKey: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ displayName: z.ZodString; provider: z.ZodLiteral; config: z.ZodObject<{ apiKeyHeader: z.ZodString; baseUrl: z.ZodString; models: z.ZodArray; }, z.core.$strip>>; defaultHeaders: z.ZodOptional>; }, z.core.$strip>; auth: z.ZodObject<{ apiKey: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ displayName: z.ZodString; provider: z.ZodLiteral; config: z.ZodObject<{}, z.core.$strip>; auth: z.ZodObject<{ apiKey: z.ZodString; apiKeyHash: z.ZodString; }, z.core.$strip>; }, z.core.$strip>], "provider">; export type CreateAIProviderRequest = z.infer; export declare const UpdateAIProviderRequest: z.ZodObject<{ displayName: z.ZodString; config: z.ZodOptional; }, z.core.$strip>>; defaultHeaders: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ accountId: z.ZodString; gatewayId: z.ZodString; models: z.ZodArray; }, z.core.$strip>>; vertexProject: z.ZodOptional; vertexRegion: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ resourceName: z.ZodString; }, z.core.$strip>, z.ZodObject<{}, z.core.$strip>, z.ZodObject<{}, z.core.$strip>, z.ZodObject<{}, z.core.$strip>, z.ZodObject<{}, z.core.$strip>, z.ZodObject<{}, z.core.$strip>]>>; auth: z.ZodOptional, z.ZodObject<{ apiKey: z.ZodString; }, z.core.$strip>, z.ZodObject<{ apiKey: z.ZodString; }, z.core.$strip>, z.ZodObject<{ apiKey: z.ZodString; }, z.core.$strip>, z.ZodObject<{ apiKey: z.ZodString; }, z.core.$strip>, z.ZodObject<{ apiKey: z.ZodString; }, z.core.$strip>, z.ZodObject<{ apiKey: z.ZodString; }, z.core.$strip>, z.ZodObject<{ apiKey: z.ZodString; apiKeyHash: z.ZodString; }, z.core.$strip>]>>; }, z.core.$strip>; export type UpdateAIProviderRequest = z.infer; export declare const GetProviderConfigResponse: z.ZodObject<{ provider: z.ZodEnum; config: z.ZodUnion; }, z.core.$strip>>; defaultHeaders: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ accountId: z.ZodString; gatewayId: z.ZodString; models: z.ZodArray; }, z.core.$strip>>; vertexProject: z.ZodOptional; vertexRegion: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ resourceName: z.ZodString; }, z.core.$strip>, z.ZodObject<{}, z.core.$strip>, z.ZodObject<{}, z.core.$strip>, z.ZodObject<{}, z.core.$strip>, z.ZodObject<{}, z.core.$strip>, z.ZodObject<{}, z.core.$strip>]>; auth: z.ZodUnion, z.ZodObject<{ apiKey: z.ZodString; }, z.core.$strip>, z.ZodObject<{ apiKey: z.ZodString; }, z.core.$strip>, z.ZodObject<{ apiKey: z.ZodString; }, z.core.$strip>, z.ZodObject<{ apiKey: z.ZodString; }, z.core.$strip>, z.ZodObject<{ apiKey: z.ZodString; }, z.core.$strip>, z.ZodObject<{ apiKey: z.ZodString; }, z.core.$strip>, z.ZodObject<{ apiKey: z.ZodString; apiKeyHash: z.ZodString; }, z.core.$strip>]>; platformId: z.ZodString; }, z.core.$strip>; export type GetProviderConfigResponse = z.infer; export declare const AIErrorResponse: z.ZodObject<{ error: z.ZodObject<{ message: z.ZodString; type: z.ZodString; code: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export type AIErrorResponse = z.infer; /** * Splits a Cloudflare Gateway model ID into provider and model, i.e. "google-vertex-ai/google/gemini-2.5-pro" -> { provider: "google-vertex-ai", model: "google/gemini-2.5-pro" }. * @param modelId - The model ID to split. * @returns An object containing the provider and model. */ export declare function splitCloudflareGatewayModelId(modelId: string): { provider: 'google-vertex-ai'; publisher: string; model: string; } | { provider: string; model: string; publisher: undefined; } | { provider: undefined; model: string; publisher: undefined; }; //# sourceMappingURL=index.d.ts.map