import * as zod from 'zod'; import { z } from 'zod'; import { ChatModelSchemaType, ChatModelV1, UrlType, HeadersType, ParamsType, EmbeddingModelSchemaType, EmbeddingModelV1, ProviderV1 } from '@adaline/provider'; import { MessageType, ConfigType, ToolType, ChatResponseType, PartialChatResponseType, ChatModelPriceType, EmbeddingRequestsType, EmbeddingResponseType, EmbeddingModelPriceType } from '@adaline/types'; declare const GoogleChatModelConfigs: { readonly base: (maxTemperature: number, defaultTemperature: number, maxOutputTokens: number, maxSequences: number, defaultTopP: number) => { def: { readonly temperature: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; readonly maxTokens: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; readonly stop: { type: "multi-string"; param: string; title: string; description: string; max: number; }; readonly topP: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; readonly toolChoice: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; readonly safetySettings: { type: "paired-select"; param: string; title: string; description: string; fields: [{ label: string; key: string; choices: { value: string; label: string; }[]; description?: string | undefined; }, { label: string; key: string; choices: { value: string; label: string; }[]; description?: string | undefined; }]; uniqueByField?: string | undefined; }; readonly googleSearchTool: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; }; schema: zod.ZodObject<{ temperature: zod.ZodOptional>; maxTokens: zod.ZodOptional>; stop: zod.ZodOptional>>; topP: zod.ZodOptional>; toolChoice: zod.ZodOptional>>>; safetySettings: zod.ZodOptional, "many">>; googleSearchTool: zod.ZodOptional>>; }, "strip", zod.ZodTypeAny, { toolChoice?: string | null | undefined; safetySettings?: { [x: string]: any; }[] | undefined; temperature?: number | undefined; topP?: number | undefined; maxTokens?: number | undefined; stop?: string[] | undefined; googleSearchTool?: boolean | null | undefined; }, { toolChoice?: string | null | undefined; safetySettings?: { [x: string]: any; }[] | undefined; temperature?: number | undefined; topP?: number | undefined; maxTokens?: number | undefined; stop?: string[] | undefined; googleSearchTool?: boolean | null | undefined; }>; }; readonly responseSchema: (maxTemperature: number, defaultTemperature: number, maxOutputTokens: number, maxSequences: number, defaultTopP: number) => { def: { responseFormat: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseSchema: { type: "object-schema"; param: string; title: string; description: string; objectSchema?: any; }; temperature: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; maxTokens: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; stop: { type: "multi-string"; param: string; title: string; description: string; max: number; }; topP: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; toolChoice: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; safetySettings: { type: "paired-select"; param: string; title: string; description: string; fields: [{ label: string; key: string; choices: { value: string; label: string; }[]; description?: string | undefined; }, { label: string; key: string; choices: { value: string; label: string; }[]; description?: string | undefined; }]; uniqueByField?: string | undefined; }; googleSearchTool: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; }; schema: zod.ZodObject>; maxTokens: zod.ZodOptional>; stop: zod.ZodOptional>>; topP: zod.ZodOptional>; toolChoice: zod.ZodOptional>>>; safetySettings: zod.ZodOptional, "many">>; googleSearchTool: zod.ZodOptional>>; }, { responseFormat: zod.ZodOptional>>>; responseSchema: zod.ZodOptional>; }>, "strip", zod.ZodTypeAny, { toolChoice?: string | null | undefined; safetySettings?: { [x: string]: any; }[] | undefined; temperature?: number | undefined; topP?: number | undefined; maxTokens?: number | undefined; stop?: string[] | undefined; googleSearchTool?: boolean | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; }, { toolChoice?: string | null | undefined; safetySettings?: { [x: string]: any; }[] | undefined; temperature?: number | undefined; topP?: number | undefined; maxTokens?: number | undefined; stop?: string[] | undefined; googleSearchTool?: boolean | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; }>; }; readonly reasoning: (maxTemperature: number, defaultTemperature: number, maxOutputTokens: number, maxSequences: number, defaultTopP: number, minReasoningToken: number, maxReasoningToken: number) => { def: { reasoningEnabled: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; maxReasoningTokens: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; reasoningEffort: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseFormat: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseSchema: { type: "object-schema"; param: string; title: string; description: string; objectSchema?: any; }; temperature: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; maxTokens: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; stop: { type: "multi-string"; param: string; title: string; description: string; max: number; }; topP: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; toolChoice: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; safetySettings: { type: "paired-select"; param: string; title: string; description: string; fields: [{ label: string; key: string; choices: { value: string; label: string; }[]; description?: string | undefined; }, { label: string; key: string; choices: { value: string; label: string; }[]; description?: string | undefined; }]; uniqueByField?: string | undefined; }; googleSearchTool: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; }; schema: zod.ZodObject>; maxTokens: zod.ZodOptional>; stop: zod.ZodOptional>>; topP: zod.ZodOptional>; toolChoice: zod.ZodOptional>>>; safetySettings: zod.ZodOptional, "many">>; googleSearchTool: zod.ZodOptional>>; }, { responseFormat: zod.ZodOptional>>>; responseSchema: zod.ZodOptional>; }>, { reasoningEnabled: zod.ZodOptional>>; maxReasoningTokens: zod.ZodOptional>; reasoningEffort: zod.ZodOptional>>>; }>, "strip", zod.ZodTypeAny, { toolChoice?: string | null | undefined; safetySettings?: { [x: string]: any; }[] | undefined; reasoningEnabled?: boolean | null | undefined; temperature?: number | undefined; topP?: number | undefined; maxTokens?: number | undefined; stop?: string[] | undefined; googleSearchTool?: boolean | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; maxReasoningTokens?: number | undefined; reasoningEffort?: string | null | undefined; }, { toolChoice?: string | null | undefined; safetySettings?: { [x: string]: any; }[] | undefined; reasoningEnabled?: boolean | null | undefined; temperature?: number | undefined; topP?: number | undefined; maxTokens?: number | undefined; stop?: string[] | undefined; googleSearchTool?: boolean | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; maxReasoningTokens?: number | undefined; reasoningEffort?: string | null | undefined; }>; }; }; declare const GoogleEmbeddingModelConfigs: { readonly base: (maxDimensions: number) => { def: { readonly dimensions: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; }; schema: zod.ZodObject<{ dimensions: zod.ZodOptional>; }, "strip", zod.ZodTypeAny, { dimensions?: number | undefined; }, { dimensions?: number | undefined; }>; }; }; declare const ChatModelBaseConfigSchema: (maxTemperature: number, defaultTemperature: number, maxOutputTokens: number, maxSequences: number, defaultTopP: number) => z.ZodObject<{ temperature: z.ZodOptional>; maxTokens: z.ZodOptional>; stop: z.ZodOptional>>; topP: z.ZodOptional>; toolChoice: z.ZodOptional>>>; safetySettings: z.ZodOptional, "many">>; googleSearchTool: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { toolChoice?: string | null | undefined; safetySettings?: { [x: string]: any; }[] | undefined; temperature?: number | undefined; topP?: number | undefined; maxTokens?: number | undefined; stop?: string[] | undefined; googleSearchTool?: boolean | null | undefined; }, { toolChoice?: string | null | undefined; safetySettings?: { [x: string]: any; }[] | undefined; temperature?: number | undefined; topP?: number | undefined; maxTokens?: number | undefined; stop?: string[] | undefined; googleSearchTool?: boolean | null | undefined; }>; declare const ChatModelBaseConfigDef: (maxTemperature: number, defaultTemperature: number, maxOutputTokens: number, maxSequences: number, defaultTopP: number) => { readonly temperature: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; readonly maxTokens: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; readonly stop: { type: "multi-string"; param: string; title: string; description: string; max: number; }; readonly topP: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; readonly toolChoice: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; readonly safetySettings: { type: "paired-select"; param: string; title: string; description: string; fields: [{ label: string; key: string; choices: { value: string; label: string; }[]; description?: string | undefined; }, { label: string; key: string; choices: { value: string; label: string; }[]; description?: string | undefined; }]; uniqueByField?: string | undefined; }; readonly googleSearchTool: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; }; declare const GOOGLE_SAFETY_CATEGORIES: readonly ["HARM_CATEGORY_HARASSMENT", "HARM_CATEGORY_HATE_SPEECH", "HARM_CATEGORY_SEXUALLY_EXPLICIT", "HARM_CATEGORY_DANGEROUS_CONTENT", "HARM_CATEGORY_CIVIC_INTEGRITY"]; declare const GOOGLE_SAFETY_THRESHOLDS: readonly ["HARM_BLOCK_THRESHOLD_UNSPECIFIED", "BLOCK_LOW_AND_ABOVE", "BLOCK_MEDIUM_AND_ABOVE", "BLOCK_ONLY_HIGH", "BLOCK_NONE", "OFF"]; declare const GOOGLE_SAFETY_CATEGORY_OPTIONS: { value: "HARM_CATEGORY_HARASSMENT" | "HARM_CATEGORY_HATE_SPEECH" | "HARM_CATEGORY_SEXUALLY_EXPLICIT" | "HARM_CATEGORY_DANGEROUS_CONTENT" | "HARM_CATEGORY_CIVIC_INTEGRITY"; label: string; }[]; declare const GOOGLE_SAFETY_THRESHOLD_OPTIONS: { value: "HARM_BLOCK_THRESHOLD_UNSPECIFIED" | "BLOCK_LOW_AND_ABOVE" | "BLOCK_MEDIUM_AND_ABOVE" | "BLOCK_ONLY_HIGH" | "BLOCK_NONE" | "OFF"; label: string; }[]; declare const temperature: (max: number, _default: number) => { def: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; schema: zod.ZodOptional>; }; declare const maxTokens: (maxOutputTokens: number) => { def: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; schema: zod.ZodOptional>; }; declare const stop: (maxSequences: number) => { def: { type: "multi-string"; param: string; title: string; description: string; max: number; }; schema: zod.ZodOptional>>; }; declare const topP: (_default: number) => { def: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; schema: zod.ZodOptional>; }; declare const topK: (_default: number) => { def: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; schema: zod.ZodOptional>; }; declare const frequencyPenalty: { def: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; schema: zod.ZodOptional>; }; declare const presencePenalty: { def: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; schema: zod.ZodOptional>; }; declare const seed: { def: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; schema: zod.ZodOptional>; }; declare const toolChoice: { def: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; schema: zod.ZodOptional>>>; }; declare const safetySettings: { def: { type: "paired-select"; param: string; title: string; description: string; fields: [{ label: string; key: string; choices: { value: string; label: string; }[]; description?: string | undefined; }, { label: string; key: string; choices: { value: string; label: string; }[]; description?: string | undefined; }]; uniqueByField?: string | undefined; }; schema: zod.ZodOptional, "many">>; }; declare const reasoningEnabled: { def: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; schema: zod.ZodOptional>>; }; declare const maxReasoningTokens: (minReasoningToken: number, maxReasoningToken: number) => { def: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; schema: zod.ZodOptional>; }; declare const reasoningEffort: { def: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; schema: zod.ZodOptional>>>; }; declare const googleSearchTool: { def: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; schema: zod.ZodOptional>>; }; declare const ChatModelReasoningConfigSchema: (maxTemperature: number, defaultTemperature: number, maxOutputTokens: number, maxSequences: number, defaultTopP: number, minReasoningToken: number, maxReasoningToken: number) => zod.ZodObject>; maxTokens: zod.ZodOptional>; stop: zod.ZodOptional>>; topP: zod.ZodOptional>; toolChoice: zod.ZodOptional>>>; safetySettings: zod.ZodOptional, "many">>; googleSearchTool: zod.ZodOptional>>; }, { responseFormat: zod.ZodOptional>>>; responseSchema: zod.ZodOptional>; }>, { reasoningEnabled: zod.ZodOptional>>; maxReasoningTokens: zod.ZodOptional>; reasoningEffort: zod.ZodOptional>>>; }>, "strip", zod.ZodTypeAny, { toolChoice?: string | null | undefined; safetySettings?: { [x: string]: any; }[] | undefined; reasoningEnabled?: boolean | null | undefined; temperature?: number | undefined; topP?: number | undefined; maxTokens?: number | undefined; stop?: string[] | undefined; googleSearchTool?: boolean | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; maxReasoningTokens?: number | undefined; reasoningEffort?: string | null | undefined; }, { toolChoice?: string | null | undefined; safetySettings?: { [x: string]: any; }[] | undefined; reasoningEnabled?: boolean | null | undefined; temperature?: number | undefined; topP?: number | undefined; maxTokens?: number | undefined; stop?: string[] | undefined; googleSearchTool?: boolean | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; maxReasoningTokens?: number | undefined; reasoningEffort?: string | null | undefined; }>; declare const ChatModelReasoningConfigDef: (maxTemperature: number, defaultTemperature: number, maxOutputTokens: number, maxSequences: number, defaultTopP: number, minReasoningToken: number, maxReasoningToken: number) => { reasoningEnabled: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; maxReasoningTokens: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; reasoningEffort: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseFormat: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseSchema: { type: "object-schema"; param: string; title: string; description: string; objectSchema?: any; }; temperature: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; maxTokens: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; stop: { type: "multi-string"; param: string; title: string; description: string; max: number; }; topP: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; toolChoice: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; safetySettings: { type: "paired-select"; param: string; title: string; description: string; fields: [{ label: string; key: string; choices: { value: string; label: string; }[]; description?: string | undefined; }, { label: string; key: string; choices: { value: string; label: string; }[]; description?: string | undefined; }]; uniqueByField?: string | undefined; }; googleSearchTool: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; }; declare const GoogleChatModelResponseSchemaConfigDef: (maxTemperature: number, defaultTemperature: number, maxOutputTokens: number, maxSequences: number, defaultTopP: number) => { responseFormat: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseSchema: { type: "object-schema"; param: string; title: string; description: string; objectSchema?: any; }; temperature: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; maxTokens: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; stop: { type: "multi-string"; param: string; title: string; description: string; max: number; }; topP: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; toolChoice: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; safetySettings: { type: "paired-select"; param: string; title: string; description: string; fields: [{ label: string; key: string; choices: { value: string; label: string; }[]; description?: string | undefined; }, { label: string; key: string; choices: { value: string; label: string; }[]; description?: string | undefined; }]; uniqueByField?: string | undefined; }; googleSearchTool: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; }; declare const GoogleChatModelResponseSchemaConfigSchema: (maxTemperature: number, defaultTemperature: number, maxOutputTokens: number, maxSequences: number, defaultTopP: number) => zod.ZodObject>; maxTokens: zod.ZodOptional>; stop: zod.ZodOptional>>; topP: zod.ZodOptional>; toolChoice: zod.ZodOptional>>>; safetySettings: zod.ZodOptional, "many">>; googleSearchTool: zod.ZodOptional>>; }, { responseFormat: zod.ZodOptional>>>; responseSchema: zod.ZodOptional>; }>, "strip", zod.ZodTypeAny, { toolChoice?: string | null | undefined; safetySettings?: { [x: string]: any; }[] | undefined; temperature?: number | undefined; topP?: number | undefined; maxTokens?: number | undefined; stop?: string[] | undefined; googleSearchTool?: boolean | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; }, { toolChoice?: string | null | undefined; safetySettings?: { [x: string]: any; }[] | undefined; temperature?: number | undefined; topP?: number | undefined; maxTokens?: number | undefined; stop?: string[] | undefined; googleSearchTool?: boolean | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; }>; declare const EmbeddingModelBaseConfigSchema: (maxDimensions: number) => z.ZodObject<{ dimensions: z.ZodOptional>; }, "strip", z.ZodTypeAny, { dimensions?: number | undefined; }, { dimensions?: number | undefined; }>; declare const EmbeddingModelBaseConfigDef: (maxDimensions: number) => { readonly dimensions: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; }; declare const dimensions: (maxDimensions: number) => { def: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; schema: zod.ZodOptional>; }; declare const GoogleChatModelRoles: z.ZodEnum<["system", "user", "assistant", "tool"]>; declare const GoogleChatAssistantRoleLiteral = "model"; declare const GoogleChatToolRoleLiteral = "function"; declare const GoogleChatModelRolesMap: { readonly system: "user"; readonly user: "user"; readonly assistant: "model"; readonly tool: "function"; }; declare const GoogleChatModelModalities: ChatModelSchemaType["modalities"]; declare const GoogleChatModelModalitiesEnum: z.ZodEnum<["text", "image", "pdf", "tool-call", "tool-response", "reasoning", "search-result", "error"]>; declare const GoogleChatModelTextModalities: ChatModelSchemaType["modalities"]; declare const GoogleChatModelTextModalitiesEnum: z.ZodEnum<["text"]>; declare const GoogleChatModelTextVisionModalities: ChatModelSchemaType["modalities"]; declare const GoogleChatModelTextVisionModalitiesEnum: z.ZodEnum<["text", "image"]>; declare const GoogleChatModelTextToolModalities: ChatModelSchemaType["modalities"]; declare const GoogleChatModelTextToolModalitiesEnum: z.ZodEnum<["text", "tool-call", "tool-response"]>; declare const GoogleSearchEntryPoint: z.ZodObject<{ renderedContent: z.ZodOptional; }, "strip", z.ZodTypeAny, { renderedContent?: string | undefined; }, { renderedContent?: string | undefined; }>; type GoogleSearchEntryPointType = z.infer; declare const GoogleGroundingChunkWeb: z.ZodObject<{ uri: z.ZodOptional; title: z.ZodOptional; }, "strip", z.ZodTypeAny, { title?: string | undefined; uri?: string | undefined; }, { title?: string | undefined; uri?: string | undefined; }>; type GoogleGroundingChunkWebType = z.infer; declare const GoogleGroundingChunk: z.ZodObject<{ web: z.ZodOptional; title: z.ZodOptional; }, "strip", z.ZodTypeAny, { title?: string | undefined; uri?: string | undefined; }, { title?: string | undefined; uri?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { web?: { title?: string | undefined; uri?: string | undefined; } | undefined; }, { web?: { title?: string | undefined; uri?: string | undefined; } | undefined; }>; type GoogleGroundingChunkType = z.infer; declare const GoogleSegment: z.ZodObject<{ startIndex: z.ZodOptional; endIndex: z.ZodOptional; text: z.ZodOptional; }, "strip", z.ZodTypeAny, { text?: string | undefined; startIndex?: number | undefined; endIndex?: number | undefined; }, { text?: string | undefined; startIndex?: number | undefined; endIndex?: number | undefined; }>; type GoogleSegmentType = z.infer; declare const GoogleGroundingSupport: z.ZodObject<{ segment: z.ZodOptional; endIndex: z.ZodOptional; text: z.ZodOptional; }, "strip", z.ZodTypeAny, { text?: string | undefined; startIndex?: number | undefined; endIndex?: number | undefined; }, { text?: string | undefined; startIndex?: number | undefined; endIndex?: number | undefined; }>>; groundingChunkIndices: z.ZodOptional>; confidenceScores: z.ZodOptional>; }, "strip", z.ZodTypeAny, { segment?: { text?: string | undefined; startIndex?: number | undefined; endIndex?: number | undefined; } | undefined; groundingChunkIndices?: number[] | undefined; confidenceScores?: number[] | undefined; }, { segment?: { text?: string | undefined; startIndex?: number | undefined; endIndex?: number | undefined; } | undefined; groundingChunkIndices?: number[] | undefined; confidenceScores?: number[] | undefined; }>; type GoogleGroundingSupportType = z.infer; declare const GoogleGroundingMetadata: z.ZodObject<{ searchEntryPoint: z.ZodOptional; }, "strip", z.ZodTypeAny, { renderedContent?: string | undefined; }, { renderedContent?: string | undefined; }>>; groundingChunks: z.ZodOptional; title: z.ZodOptional; }, "strip", z.ZodTypeAny, { title?: string | undefined; uri?: string | undefined; }, { title?: string | undefined; uri?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { web?: { title?: string | undefined; uri?: string | undefined; } | undefined; }, { web?: { title?: string | undefined; uri?: string | undefined; } | undefined; }>, "many">>; groundingSupports: z.ZodOptional; endIndex: z.ZodOptional; text: z.ZodOptional; }, "strip", z.ZodTypeAny, { text?: string | undefined; startIndex?: number | undefined; endIndex?: number | undefined; }, { text?: string | undefined; startIndex?: number | undefined; endIndex?: number | undefined; }>>; groundingChunkIndices: z.ZodOptional>; confidenceScores: z.ZodOptional>; }, "strip", z.ZodTypeAny, { segment?: { text?: string | undefined; startIndex?: number | undefined; endIndex?: number | undefined; } | undefined; groundingChunkIndices?: number[] | undefined; confidenceScores?: number[] | undefined; }, { segment?: { text?: string | undefined; startIndex?: number | undefined; endIndex?: number | undefined; } | undefined; groundingChunkIndices?: number[] | undefined; confidenceScores?: number[] | undefined; }>, "many">>; webSearchQueries: z.ZodOptional>; }, "strip", z.ZodTypeAny, { searchEntryPoint?: { renderedContent?: string | undefined; } | undefined; groundingChunks?: { web?: { title?: string | undefined; uri?: string | undefined; } | undefined; }[] | undefined; groundingSupports?: { segment?: { text?: string | undefined; startIndex?: number | undefined; endIndex?: number | undefined; } | undefined; groundingChunkIndices?: number[] | undefined; confidenceScores?: number[] | undefined; }[] | undefined; webSearchQueries?: string[] | undefined; }, { searchEntryPoint?: { renderedContent?: string | undefined; } | undefined; groundingChunks?: { web?: { title?: string | undefined; uri?: string | undefined; } | undefined; }[] | undefined; groundingSupports?: { segment?: { text?: string | undefined; startIndex?: number | undefined; endIndex?: number | undefined; } | undefined; groundingChunkIndices?: number[] | undefined; confidenceScores?: number[] | undefined; }[] | undefined; webSearchQueries?: string[] | undefined; }>; type GoogleGroundingMetadataType = z.infer; declare const GoogleCompleteChatTextResponse: z.ZodObject<{ text: z.ZodString; thought: z.ZodOptional; }, "strip", z.ZodTypeAny, { text: string; thought?: boolean | undefined; }, { text: string; thought?: boolean | undefined; }>; declare const GoogleCompleteChatToolResponse: z.ZodObject<{ functionCall: z.ZodObject<{ name: z.ZodString; args: z.ZodRecord; }, "strip", z.ZodTypeAny, { name: string; args: Record; }, { name: string; args: Record; }>; thoughtSignature: z.ZodOptional; }, "strip", z.ZodTypeAny, { functionCall: { name: string; args: Record; }; thoughtSignature?: string | undefined; }, { functionCall: { name: string; args: Record; }; thoughtSignature?: string | undefined; }>; declare const GoogleCompleteChatServerSideToolCallResponse: z.ZodObject<{ toolCall: z.ZodObject<{ toolType: z.ZodString; args: z.ZodRecord; id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; args: Record; toolType: string; }, { id: string; args: Record; toolType: string; }>; thoughtSignature: z.ZodOptional; }, "strip", z.ZodTypeAny, { toolCall: { id: string; args: Record; toolType: string; }; thoughtSignature?: string | undefined; }, { toolCall: { id: string; args: Record; toolType: string; }; thoughtSignature?: string | undefined; }>; declare const GoogleCompleteChatServerSideToolResultResponse: z.ZodObject<{ toolResponse: z.ZodObject<{ toolType: z.ZodString; response: z.ZodRecord; id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; response: Record; toolType: string; }, { id: string; response: Record; toolType: string; }>; thoughtSignature: z.ZodOptional; }, "strip", z.ZodTypeAny, { toolResponse: { id: string; response: Record; toolType: string; }; thoughtSignature?: string | undefined; }, { toolResponse: { id: string; response: Record; toolType: string; }; thoughtSignature?: string | undefined; }>; declare const GoogleCompleteChatResponse: z.ZodObject<{ candidates: z.ZodArray; }, "strip", z.ZodTypeAny, { text: string; thought?: boolean | undefined; }, { text: string; thought?: boolean | undefined; }>, z.ZodObject<{ functionCall: z.ZodObject<{ name: z.ZodString; args: z.ZodRecord; }, "strip", z.ZodTypeAny, { name: string; args: Record; }, { name: string; args: Record; }>; thoughtSignature: z.ZodOptional; }, "strip", z.ZodTypeAny, { functionCall: { name: string; args: Record; }; thoughtSignature?: string | undefined; }, { functionCall: { name: string; args: Record; }; thoughtSignature?: string | undefined; }>, z.ZodObject<{ toolCall: z.ZodObject<{ toolType: z.ZodString; args: z.ZodRecord; id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; args: Record; toolType: string; }, { id: string; args: Record; toolType: string; }>; thoughtSignature: z.ZodOptional; }, "strip", z.ZodTypeAny, { toolCall: { id: string; args: Record; toolType: string; }; thoughtSignature?: string | undefined; }, { toolCall: { id: string; args: Record; toolType: string; }; thoughtSignature?: string | undefined; }>, z.ZodObject<{ toolResponse: z.ZodObject<{ toolType: z.ZodString; response: z.ZodRecord; id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; response: Record; toolType: string; }, { id: string; response: Record; toolType: string; }>; thoughtSignature: z.ZodOptional; }, "strip", z.ZodTypeAny, { toolResponse: { id: string; response: Record; toolType: string; }; thoughtSignature?: string | undefined; }, { toolResponse: { id: string; response: Record; toolType: string; }; thoughtSignature?: string | undefined; }>]>, "many">; }, "strip", z.ZodTypeAny, { role: string; parts: ({ text: string; thought?: boolean | undefined; } | { functionCall: { name: string; args: Record; }; thoughtSignature?: string | undefined; } | { toolCall: { id: string; args: Record; toolType: string; }; thoughtSignature?: string | undefined; } | { toolResponse: { id: string; response: Record; toolType: string; }; thoughtSignature?: string | undefined; })[]; }, { role: string; parts: ({ text: string; thought?: boolean | undefined; } | { functionCall: { name: string; args: Record; }; thoughtSignature?: string | undefined; } | { toolCall: { id: string; args: Record; toolType: string; }; thoughtSignature?: string | undefined; } | { toolResponse: { id: string; response: Record; toolType: string; }; thoughtSignature?: string | undefined; })[]; }>>; finishReason: z.ZodOptional; index: z.ZodOptional; safetyRatings: z.ZodOptional; }, "strip", z.ZodTypeAny, { category: string; probability: string; blocked?: boolean | undefined; }, { category: string; probability: string; blocked?: boolean | undefined; }>, "many">>; groundingMetadata: z.ZodOptional; }, "strip", z.ZodTypeAny, { renderedContent?: string | undefined; }, { renderedContent?: string | undefined; }>>; groundingChunks: z.ZodOptional; title: z.ZodOptional; }, "strip", z.ZodTypeAny, { title?: string | undefined; uri?: string | undefined; }, { title?: string | undefined; uri?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { web?: { title?: string | undefined; uri?: string | undefined; } | undefined; }, { web?: { title?: string | undefined; uri?: string | undefined; } | undefined; }>, "many">>; groundingSupports: z.ZodOptional; endIndex: z.ZodOptional; text: z.ZodOptional; }, "strip", z.ZodTypeAny, { text?: string | undefined; startIndex?: number | undefined; endIndex?: number | undefined; }, { text?: string | undefined; startIndex?: number | undefined; endIndex?: number | undefined; }>>; groundingChunkIndices: z.ZodOptional>; confidenceScores: z.ZodOptional>; }, "strip", z.ZodTypeAny, { segment?: { text?: string | undefined; startIndex?: number | undefined; endIndex?: number | undefined; } | undefined; groundingChunkIndices?: number[] | undefined; confidenceScores?: number[] | undefined; }, { segment?: { text?: string | undefined; startIndex?: number | undefined; endIndex?: number | undefined; } | undefined; groundingChunkIndices?: number[] | undefined; confidenceScores?: number[] | undefined; }>, "many">>; webSearchQueries: z.ZodOptional>; }, "strip", z.ZodTypeAny, { searchEntryPoint?: { renderedContent?: string | undefined; } | undefined; groundingChunks?: { web?: { title?: string | undefined; uri?: string | undefined; } | undefined; }[] | undefined; groundingSupports?: { segment?: { text?: string | undefined; startIndex?: number | undefined; endIndex?: number | undefined; } | undefined; groundingChunkIndices?: number[] | undefined; confidenceScores?: number[] | undefined; }[] | undefined; webSearchQueries?: string[] | undefined; }, { searchEntryPoint?: { renderedContent?: string | undefined; } | undefined; groundingChunks?: { web?: { title?: string | undefined; uri?: string | undefined; } | undefined; }[] | undefined; groundingSupports?: { segment?: { text?: string | undefined; startIndex?: number | undefined; endIndex?: number | undefined; } | undefined; groundingChunkIndices?: number[] | undefined; confidenceScores?: number[] | undefined; }[] | undefined; webSearchQueries?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { content?: { role: string; parts: ({ text: string; thought?: boolean | undefined; } | { functionCall: { name: string; args: Record; }; thoughtSignature?: string | undefined; } | { toolCall: { id: string; args: Record; toolType: string; }; thoughtSignature?: string | undefined; } | { toolResponse: { id: string; response: Record; toolType: string; }; thoughtSignature?: string | undefined; })[]; } | undefined; index?: number | undefined; finishReason?: string | undefined; safetyRatings?: { category: string; probability: string; blocked?: boolean | undefined; }[] | undefined; groundingMetadata?: { searchEntryPoint?: { renderedContent?: string | undefined; } | undefined; groundingChunks?: { web?: { title?: string | undefined; uri?: string | undefined; } | undefined; }[] | undefined; groundingSupports?: { segment?: { text?: string | undefined; startIndex?: number | undefined; endIndex?: number | undefined; } | undefined; groundingChunkIndices?: number[] | undefined; confidenceScores?: number[] | undefined; }[] | undefined; webSearchQueries?: string[] | undefined; } | undefined; }, { content?: { role: string; parts: ({ text: string; thought?: boolean | undefined; } | { functionCall: { name: string; args: Record; }; thoughtSignature?: string | undefined; } | { toolCall: { id: string; args: Record; toolType: string; }; thoughtSignature?: string | undefined; } | { toolResponse: { id: string; response: Record; toolType: string; }; thoughtSignature?: string | undefined; })[]; } | undefined; index?: number | undefined; finishReason?: string | undefined; safetyRatings?: { category: string; probability: string; blocked?: boolean | undefined; }[] | undefined; groundingMetadata?: { searchEntryPoint?: { renderedContent?: string | undefined; } | undefined; groundingChunks?: { web?: { title?: string | undefined; uri?: string | undefined; } | undefined; }[] | undefined; groundingSupports?: { segment?: { text?: string | undefined; startIndex?: number | undefined; endIndex?: number | undefined; } | undefined; groundingChunkIndices?: number[] | undefined; confidenceScores?: number[] | undefined; }[] | undefined; webSearchQueries?: string[] | undefined; } | undefined; }>, "many">; promptFeedback: z.ZodOptional, "many">>; }, "strip", z.ZodTypeAny, { safetyRatings?: { category: string; probability: string; }[] | undefined; }, { safetyRatings?: { category: string; probability: string; }[] | undefined; }>>; usageMetadata: z.ZodOptional; candidatesTokenCount: z.ZodOptional; totalTokenCount: z.ZodNumber; }, "strip", z.ZodTypeAny, { promptTokenCount: number; totalTokenCount: number; cachedContentTokenCount?: number | undefined; candidatesTokenCount?: number | undefined; }, { promptTokenCount: number; totalTokenCount: number; cachedContentTokenCount?: number | undefined; candidatesTokenCount?: number | undefined; }>>; }, "strip", z.ZodTypeAny, { candidates: { content?: { role: string; parts: ({ text: string; thought?: boolean | undefined; } | { functionCall: { name: string; args: Record; }; thoughtSignature?: string | undefined; } | { toolCall: { id: string; args: Record; toolType: string; }; thoughtSignature?: string | undefined; } | { toolResponse: { id: string; response: Record; toolType: string; }; thoughtSignature?: string | undefined; })[]; } | undefined; index?: number | undefined; finishReason?: string | undefined; safetyRatings?: { category: string; probability: string; blocked?: boolean | undefined; }[] | undefined; groundingMetadata?: { searchEntryPoint?: { renderedContent?: string | undefined; } | undefined; groundingChunks?: { web?: { title?: string | undefined; uri?: string | undefined; } | undefined; }[] | undefined; groundingSupports?: { segment?: { text?: string | undefined; startIndex?: number | undefined; endIndex?: number | undefined; } | undefined; groundingChunkIndices?: number[] | undefined; confidenceScores?: number[] | undefined; }[] | undefined; webSearchQueries?: string[] | undefined; } | undefined; }[]; promptFeedback?: { safetyRatings?: { category: string; probability: string; }[] | undefined; } | undefined; usageMetadata?: { promptTokenCount: number; totalTokenCount: number; cachedContentTokenCount?: number | undefined; candidatesTokenCount?: number | undefined; } | undefined; }, { candidates: { content?: { role: string; parts: ({ text: string; thought?: boolean | undefined; } | { functionCall: { name: string; args: Record; }; thoughtSignature?: string | undefined; } | { toolCall: { id: string; args: Record; toolType: string; }; thoughtSignature?: string | undefined; } | { toolResponse: { id: string; response: Record; toolType: string; }; thoughtSignature?: string | undefined; })[]; } | undefined; index?: number | undefined; finishReason?: string | undefined; safetyRatings?: { category: string; probability: string; blocked?: boolean | undefined; }[] | undefined; groundingMetadata?: { searchEntryPoint?: { renderedContent?: string | undefined; } | undefined; groundingChunks?: { web?: { title?: string | undefined; uri?: string | undefined; } | undefined; }[] | undefined; groundingSupports?: { segment?: { text?: string | undefined; startIndex?: number | undefined; endIndex?: number | undefined; } | undefined; groundingChunkIndices?: number[] | undefined; confidenceScores?: number[] | undefined; }[] | undefined; webSearchQueries?: string[] | undefined; } | undefined; }[]; promptFeedback?: { safetyRatings?: { category: string; probability: string; }[] | undefined; } | undefined; usageMetadata?: { promptTokenCount: number; totalTokenCount: number; cachedContentTokenCount?: number | undefined; candidatesTokenCount?: number | undefined; } | undefined; }>; type GoogleCompleteChatResponseType = z.infer; declare const GoogleStreamChatTextResponse: z.ZodObject<{ text: z.ZodString; thought: z.ZodOptional; }, "strip", z.ZodTypeAny, { text: string; thought?: boolean | undefined; }, { text: string; thought?: boolean | undefined; }>; declare const GoogleStreamChatToolResponse: z.ZodObject<{ functionCall: z.ZodObject<{ name: z.ZodString; args: z.ZodRecord; }, "strip", z.ZodTypeAny, { name: string; args: Record; }, { name: string; args: Record; }>; thoughtSignature: z.ZodOptional; }, "strip", z.ZodTypeAny, { functionCall: { name: string; args: Record; }; thoughtSignature?: string | undefined; }, { functionCall: { name: string; args: Record; }; thoughtSignature?: string | undefined; }>; declare const GoogleStreamChatServerSideToolCallResponse: z.ZodObject<{ toolCall: z.ZodObject<{ toolType: z.ZodString; args: z.ZodRecord; id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; args: Record; toolType: string; }, { id: string; args: Record; toolType: string; }>; thoughtSignature: z.ZodOptional; }, "strip", z.ZodTypeAny, { toolCall: { id: string; args: Record; toolType: string; }; thoughtSignature?: string | undefined; }, { toolCall: { id: string; args: Record; toolType: string; }; thoughtSignature?: string | undefined; }>; declare const GoogleStreamChatServerSideToolResultResponse: z.ZodObject<{ toolResponse: z.ZodObject<{ toolType: z.ZodString; response: z.ZodRecord; id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; response: Record; toolType: string; }, { id: string; response: Record; toolType: string; }>; thoughtSignature: z.ZodOptional; }, "strip", z.ZodTypeAny, { toolResponse: { id: string; response: Record; toolType: string; }; thoughtSignature?: string | undefined; }, { toolResponse: { id: string; response: Record; toolType: string; }; thoughtSignature?: string | undefined; }>; declare const GoogleStreamChatResponse: z.ZodObject<{ candidates: z.ZodArray; }, "strip", z.ZodTypeAny, { text: string; thought?: boolean | undefined; }, { text: string; thought?: boolean | undefined; }>, z.ZodObject<{ functionCall: z.ZodObject<{ name: z.ZodString; args: z.ZodRecord; }, "strip", z.ZodTypeAny, { name: string; args: Record; }, { name: string; args: Record; }>; thoughtSignature: z.ZodOptional; }, "strip", z.ZodTypeAny, { functionCall: { name: string; args: Record; }; thoughtSignature?: string | undefined; }, { functionCall: { name: string; args: Record; }; thoughtSignature?: string | undefined; }>, z.ZodObject<{ toolCall: z.ZodObject<{ toolType: z.ZodString; args: z.ZodRecord; id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; args: Record; toolType: string; }, { id: string; args: Record; toolType: string; }>; thoughtSignature: z.ZodOptional; }, "strip", z.ZodTypeAny, { toolCall: { id: string; args: Record; toolType: string; }; thoughtSignature?: string | undefined; }, { toolCall: { id: string; args: Record; toolType: string; }; thoughtSignature?: string | undefined; }>, z.ZodObject<{ toolResponse: z.ZodObject<{ toolType: z.ZodString; response: z.ZodRecord; id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; response: Record; toolType: string; }, { id: string; response: Record; toolType: string; }>; thoughtSignature: z.ZodOptional; }, "strip", z.ZodTypeAny, { toolResponse: { id: string; response: Record; toolType: string; }; thoughtSignature?: string | undefined; }, { toolResponse: { id: string; response: Record; toolType: string; }; thoughtSignature?: string | undefined; }>]>, "many">; }, "strip", z.ZodTypeAny, { role: string; parts: ({ text: string; thought?: boolean | undefined; } | { functionCall: { name: string; args: Record; }; thoughtSignature?: string | undefined; } | { toolCall: { id: string; args: Record; toolType: string; }; thoughtSignature?: string | undefined; } | { toolResponse: { id: string; response: Record; toolType: string; }; thoughtSignature?: string | undefined; })[]; }, { role: string; parts: ({ text: string; thought?: boolean | undefined; } | { functionCall: { name: string; args: Record; }; thoughtSignature?: string | undefined; } | { toolCall: { id: string; args: Record; toolType: string; }; thoughtSignature?: string | undefined; } | { toolResponse: { id: string; response: Record; toolType: string; }; thoughtSignature?: string | undefined; })[]; }>>; finishReason: z.ZodOptional; index: z.ZodOptional; safetyRatings: z.ZodOptional; }, "strip", z.ZodTypeAny, { category: string; probability: string; blocked?: boolean | undefined; }, { category: string; probability: string; blocked?: boolean | undefined; }>, "many">>; groundingMetadata: z.ZodOptional; }, "strip", z.ZodTypeAny, { renderedContent?: string | undefined; }, { renderedContent?: string | undefined; }>>; groundingChunks: z.ZodOptional; title: z.ZodOptional; }, "strip", z.ZodTypeAny, { title?: string | undefined; uri?: string | undefined; }, { title?: string | undefined; uri?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { web?: { title?: string | undefined; uri?: string | undefined; } | undefined; }, { web?: { title?: string | undefined; uri?: string | undefined; } | undefined; }>, "many">>; groundingSupports: z.ZodOptional; endIndex: z.ZodOptional; text: z.ZodOptional; }, "strip", z.ZodTypeAny, { text?: string | undefined; startIndex?: number | undefined; endIndex?: number | undefined; }, { text?: string | undefined; startIndex?: number | undefined; endIndex?: number | undefined; }>>; groundingChunkIndices: z.ZodOptional>; confidenceScores: z.ZodOptional>; }, "strip", z.ZodTypeAny, { segment?: { text?: string | undefined; startIndex?: number | undefined; endIndex?: number | undefined; } | undefined; groundingChunkIndices?: number[] | undefined; confidenceScores?: number[] | undefined; }, { segment?: { text?: string | undefined; startIndex?: number | undefined; endIndex?: number | undefined; } | undefined; groundingChunkIndices?: number[] | undefined; confidenceScores?: number[] | undefined; }>, "many">>; webSearchQueries: z.ZodOptional>; }, "strip", z.ZodTypeAny, { searchEntryPoint?: { renderedContent?: string | undefined; } | undefined; groundingChunks?: { web?: { title?: string | undefined; uri?: string | undefined; } | undefined; }[] | undefined; groundingSupports?: { segment?: { text?: string | undefined; startIndex?: number | undefined; endIndex?: number | undefined; } | undefined; groundingChunkIndices?: number[] | undefined; confidenceScores?: number[] | undefined; }[] | undefined; webSearchQueries?: string[] | undefined; }, { searchEntryPoint?: { renderedContent?: string | undefined; } | undefined; groundingChunks?: { web?: { title?: string | undefined; uri?: string | undefined; } | undefined; }[] | undefined; groundingSupports?: { segment?: { text?: string | undefined; startIndex?: number | undefined; endIndex?: number | undefined; } | undefined; groundingChunkIndices?: number[] | undefined; confidenceScores?: number[] | undefined; }[] | undefined; webSearchQueries?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { content?: { role: string; parts: ({ text: string; thought?: boolean | undefined; } | { functionCall: { name: string; args: Record; }; thoughtSignature?: string | undefined; } | { toolCall: { id: string; args: Record; toolType: string; }; thoughtSignature?: string | undefined; } | { toolResponse: { id: string; response: Record; toolType: string; }; thoughtSignature?: string | undefined; })[]; } | undefined; index?: number | undefined; finishReason?: string | undefined; safetyRatings?: { category: string; probability: string; blocked?: boolean | undefined; }[] | undefined; groundingMetadata?: { searchEntryPoint?: { renderedContent?: string | undefined; } | undefined; groundingChunks?: { web?: { title?: string | undefined; uri?: string | undefined; } | undefined; }[] | undefined; groundingSupports?: { segment?: { text?: string | undefined; startIndex?: number | undefined; endIndex?: number | undefined; } | undefined; groundingChunkIndices?: number[] | undefined; confidenceScores?: number[] | undefined; }[] | undefined; webSearchQueries?: string[] | undefined; } | undefined; }, { content?: { role: string; parts: ({ text: string; thought?: boolean | undefined; } | { functionCall: { name: string; args: Record; }; thoughtSignature?: string | undefined; } | { toolCall: { id: string; args: Record; toolType: string; }; thoughtSignature?: string | undefined; } | { toolResponse: { id: string; response: Record; toolType: string; }; thoughtSignature?: string | undefined; })[]; } | undefined; index?: number | undefined; finishReason?: string | undefined; safetyRatings?: { category: string; probability: string; blocked?: boolean | undefined; }[] | undefined; groundingMetadata?: { searchEntryPoint?: { renderedContent?: string | undefined; } | undefined; groundingChunks?: { web?: { title?: string | undefined; uri?: string | undefined; } | undefined; }[] | undefined; groundingSupports?: { segment?: { text?: string | undefined; startIndex?: number | undefined; endIndex?: number | undefined; } | undefined; groundingChunkIndices?: number[] | undefined; confidenceScores?: number[] | undefined; }[] | undefined; webSearchQueries?: string[] | undefined; } | undefined; }>, "many">; promptFeedback: z.ZodOptional, "many">>; }, "strip", z.ZodTypeAny, { safetyRatings?: { category: string; probability: string; }[] | undefined; }, { safetyRatings?: { category: string; probability: string; }[] | undefined; }>>; usageMetadata: z.ZodOptional; cachedContentTokenCount: z.ZodOptional; candidatesTokenCount: z.ZodOptional; totalTokenCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { promptTokenCount?: number | undefined; cachedContentTokenCount?: number | undefined; candidatesTokenCount?: number | undefined; totalTokenCount?: number | undefined; }, { promptTokenCount?: number | undefined; cachedContentTokenCount?: number | undefined; candidatesTokenCount?: number | undefined; totalTokenCount?: number | undefined; }>>; }, "strip", z.ZodTypeAny, { candidates: { content?: { role: string; parts: ({ text: string; thought?: boolean | undefined; } | { functionCall: { name: string; args: Record; }; thoughtSignature?: string | undefined; } | { toolCall: { id: string; args: Record; toolType: string; }; thoughtSignature?: string | undefined; } | { toolResponse: { id: string; response: Record; toolType: string; }; thoughtSignature?: string | undefined; })[]; } | undefined; index?: number | undefined; finishReason?: string | undefined; safetyRatings?: { category: string; probability: string; blocked?: boolean | undefined; }[] | undefined; groundingMetadata?: { searchEntryPoint?: { renderedContent?: string | undefined; } | undefined; groundingChunks?: { web?: { title?: string | undefined; uri?: string | undefined; } | undefined; }[] | undefined; groundingSupports?: { segment?: { text?: string | undefined; startIndex?: number | undefined; endIndex?: number | undefined; } | undefined; groundingChunkIndices?: number[] | undefined; confidenceScores?: number[] | undefined; }[] | undefined; webSearchQueries?: string[] | undefined; } | undefined; }[]; promptFeedback?: { safetyRatings?: { category: string; probability: string; }[] | undefined; } | undefined; usageMetadata?: { promptTokenCount?: number | undefined; cachedContentTokenCount?: number | undefined; candidatesTokenCount?: number | undefined; totalTokenCount?: number | undefined; } | undefined; }, { candidates: { content?: { role: string; parts: ({ text: string; thought?: boolean | undefined; } | { functionCall: { name: string; args: Record; }; thoughtSignature?: string | undefined; } | { toolCall: { id: string; args: Record; toolType: string; }; thoughtSignature?: string | undefined; } | { toolResponse: { id: string; response: Record; toolType: string; }; thoughtSignature?: string | undefined; })[]; } | undefined; index?: number | undefined; finishReason?: string | undefined; safetyRatings?: { category: string; probability: string; blocked?: boolean | undefined; }[] | undefined; groundingMetadata?: { searchEntryPoint?: { renderedContent?: string | undefined; } | undefined; groundingChunks?: { web?: { title?: string | undefined; uri?: string | undefined; } | undefined; }[] | undefined; groundingSupports?: { segment?: { text?: string | undefined; startIndex?: number | undefined; endIndex?: number | undefined; } | undefined; groundingChunkIndices?: number[] | undefined; confidenceScores?: number[] | undefined; }[] | undefined; webSearchQueries?: string[] | undefined; } | undefined; }[]; promptFeedback?: { safetyRatings?: { category: string; probability: string; }[] | undefined; } | undefined; usageMetadata?: { promptTokenCount?: number | undefined; cachedContentTokenCount?: number | undefined; candidatesTokenCount?: number | undefined; totalTokenCount?: number | undefined; } | undefined; }>; type GoogleStreamChatResponseType = z.infer; declare const GoogleChatContentPartText: z.ZodObject<{ text: z.ZodString; }, "strip", z.ZodTypeAny, { text: string; }, { text: string; }>; type GoogleChatContentPartTextType = z.infer; declare const GoogleChatContentPartInlineData: z.ZodObject<{ inline_data: z.ZodObject<{ mime_type: z.ZodString; data: z.ZodString; }, "strip", z.ZodTypeAny, { mime_type: string; data: string; }, { mime_type: string; data: string; }>; }, "strip", z.ZodTypeAny, { inline_data: { mime_type: string; data: string; }; }, { inline_data: { mime_type: string; data: string; }; }>; type GoogleChatContentPartInlineDataType = z.infer; declare const GoogleChatContentPartFileData: z.ZodObject<{ file_data: z.ZodObject<{ mime_type: z.ZodString; file_uri: z.ZodString; }, "strip", z.ZodTypeAny, { mime_type: string; file_uri: string; }, { mime_type: string; file_uri: string; }>; }, "strip", z.ZodTypeAny, { file_data: { mime_type: string; file_uri: string; }; }, { file_data: { mime_type: string; file_uri: string; }; }>; type GoogleChatContentPartFileDataType = z.infer; declare const GoogleChatContentPartFunctionCall: z.ZodObject<{ function_call: z.ZodObject<{ name: z.ZodString; args: z.ZodRecord; }, "strip", z.ZodTypeAny, { name: string; args: Record; }, { name: string; args: Record; }>; thought_signature: z.ZodOptional; }, "strip", z.ZodTypeAny, { function_call: { name: string; args: Record; }; thought_signature?: string | undefined; }, { function_call: { name: string; args: Record; }; thought_signature?: string | undefined; }>; type GoogleChatContentPartFunctionCallType = z.infer; declare const GoogleChatContentPartFunctionResponse: z.ZodObject<{ function_response: z.ZodObject<{ name: z.ZodString; response: z.ZodRecord; }, "strip", z.ZodTypeAny, { name: string; response: Record; }, { name: string; response: Record; }>; }, "strip", z.ZodTypeAny, { function_response: { name: string; response: Record; }; }, { function_response: { name: string; response: Record; }; }>; type GoogleChatContentPartFunctionResponseType = z.infer; declare const GoogleChatContentPartThinking: z.ZodObject<{ text: z.ZodString; thought: z.ZodLiteral; thought_signature: z.ZodString; }, "strip", z.ZodTypeAny, { text: string; thought_signature: string; thought: true; }, { text: string; thought_signature: string; thought: true; }>; type GoogleChatContentPartThinkingType = z.infer; declare const GoogleChatContent: z.ZodObject<{ role: z.ZodEnum<["user", "model", "function"]>; parts: z.ZodArray, z.ZodObject<{ inline_data: z.ZodObject<{ mime_type: z.ZodString; data: z.ZodString; }, "strip", z.ZodTypeAny, { mime_type: string; data: string; }, { mime_type: string; data: string; }>; }, "strip", z.ZodTypeAny, { inline_data: { mime_type: string; data: string; }; }, { inline_data: { mime_type: string; data: string; }; }>, z.ZodObject<{ file_data: z.ZodObject<{ mime_type: z.ZodString; file_uri: z.ZodString; }, "strip", z.ZodTypeAny, { mime_type: string; file_uri: string; }, { mime_type: string; file_uri: string; }>; }, "strip", z.ZodTypeAny, { file_data: { mime_type: string; file_uri: string; }; }, { file_data: { mime_type: string; file_uri: string; }; }>, z.ZodObject<{ function_call: z.ZodObject<{ name: z.ZodString; args: z.ZodRecord; }, "strip", z.ZodTypeAny, { name: string; args: Record; }, { name: string; args: Record; }>; thought_signature: z.ZodOptional; }, "strip", z.ZodTypeAny, { function_call: { name: string; args: Record; }; thought_signature?: string | undefined; }, { function_call: { name: string; args: Record; }; thought_signature?: string | undefined; }>, z.ZodObject<{ function_response: z.ZodObject<{ name: z.ZodString; response: z.ZodRecord; }, "strip", z.ZodTypeAny, { name: string; response: Record; }, { name: string; response: Record; }>; }, "strip", z.ZodTypeAny, { function_response: { name: string; response: Record; }; }, { function_response: { name: string; response: Record; }; }>, z.ZodObject<{ text: z.ZodString; thought: z.ZodLiteral; thought_signature: z.ZodString; }, "strip", z.ZodTypeAny, { text: string; thought_signature: string; thought: true; }, { text: string; thought_signature: string; thought: true; }>, z.ZodObject<{ text: z.ZodString; thought: z.ZodLiteral; thought_signature: z.ZodString; }, "strip", z.ZodTypeAny, { text: string; thought_signature: string; thought: true; }, { text: string; thought_signature: string; thought: true; }>]>, "many">; }, "strip", z.ZodTypeAny, { role: "function" | "user" | "model"; parts: ({ text: string; } | { inline_data: { mime_type: string; data: string; }; } | { file_data: { mime_type: string; file_uri: string; }; } | { function_call: { name: string; args: Record; }; thought_signature?: string | undefined; } | { function_response: { name: string; response: Record; }; } | { text: string; thought_signature: string; thought: true; })[]; }, { role: "function" | "user" | "model"; parts: ({ text: string; } | { inline_data: { mime_type: string; data: string; }; } | { file_data: { mime_type: string; file_uri: string; }; } | { function_call: { name: string; args: Record; }; thought_signature?: string | undefined; } | { function_response: { name: string; response: Record; }; } | { text: string; thought_signature: string; thought: true; })[]; }>; type GoogleChatContentType = z.infer; declare const GoogleChatSystemInstruction: z.ZodObject<{ parts: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { parts: { text: string; }[]; }, { parts: { text: string; }[]; }>; type GoogleChatSystemInstructionType = z.infer; declare const GoogleChatTool: z.ZodObject<{ name: z.ZodString; description: z.ZodString; parameters: z.ZodAny; }, "strip", z.ZodTypeAny, { description: string; name: string; parameters?: any; }, { description: string; name: string; parameters?: any; }>; type GoogleChatToolType = z.infer; declare const GoogleChatGoogleSearchTool: z.ZodObject<{ timeRangeFilter: z.ZodOptional; endTime: z.ZodOptional; }, "strip", z.ZodTypeAny, { startTime?: string | undefined; endTime?: string | undefined; }, { startTime?: string | undefined; endTime?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { timeRangeFilter?: { startTime?: string | undefined; endTime?: string | undefined; } | undefined; }, { timeRangeFilter?: { startTime?: string | undefined; endTime?: string | undefined; } | undefined; }>; type GoogleChatGoogleSearchToolType = z.infer; declare const GoogleChatToolConfig: z.ZodObject<{ function_calling_config: z.ZodOptional; allowed_function_names: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode: "ANY" | "AUTO" | "NONE"; allowed_function_names?: string[] | undefined; }, { mode: "ANY" | "AUTO" | "NONE"; allowed_function_names?: string[] | undefined; }>>; include_server_side_tool_invocations: z.ZodOptional; }, "strip", z.ZodTypeAny, { function_calling_config?: { mode: "ANY" | "AUTO" | "NONE"; allowed_function_names?: string[] | undefined; } | undefined; include_server_side_tool_invocations?: boolean | undefined; }, { function_calling_config?: { mode: "ANY" | "AUTO" | "NONE"; allowed_function_names?: string[] | undefined; } | undefined; include_server_side_tool_invocations?: boolean | undefined; }>; type GoogleChatToolConfigType = z.infer; declare const GoogleChatThinkingConfig: z.ZodObject<{ thinkingBudget: z.ZodOptional; includeThoughts: z.ZodOptional; thinkingLevel: z.ZodOptional>; }, "strip", z.ZodTypeAny, { thinkingLevel?: "LOW" | "MINIMAL" | "MEDIUM" | "HIGH" | undefined; thinkingBudget?: number | undefined; includeThoughts?: boolean | undefined; }, { thinkingLevel?: "LOW" | "MINIMAL" | "MEDIUM" | "HIGH" | undefined; thinkingBudget?: number | undefined; includeThoughts?: boolean | undefined; }>; type GoogleChatThinkingConfigType = z.infer; declare const GoogleChatGenerationConfig: z.ZodObject<{ stopSequences: z.ZodOptional>; maxOutputTokens: z.ZodOptional; temperature: z.ZodOptional; topP: z.ZodOptional; topK: z.ZodOptional; presencePenalty: z.ZodOptional; frequencyPenalty: z.ZodOptional; seed: z.ZodOptional; thinkingConfig: z.ZodOptional; includeThoughts: z.ZodOptional; thinkingLevel: z.ZodOptional>; }, "strip", z.ZodTypeAny, { thinkingLevel?: "LOW" | "MINIMAL" | "MEDIUM" | "HIGH" | undefined; thinkingBudget?: number | undefined; includeThoughts?: boolean | undefined; }, { thinkingLevel?: "LOW" | "MINIMAL" | "MEDIUM" | "HIGH" | undefined; thinkingBudget?: number | undefined; includeThoughts?: boolean | undefined; }>>; }, "strip", z.ZodTypeAny, { frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; seed?: number | undefined; temperature?: number | undefined; maxOutputTokens?: number | undefined; stopSequences?: string[] | undefined; topP?: number | undefined; topK?: number | undefined; thinkingConfig?: { thinkingLevel?: "LOW" | "MINIMAL" | "MEDIUM" | "HIGH" | undefined; thinkingBudget?: number | undefined; includeThoughts?: boolean | undefined; } | undefined; }, { frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; seed?: number | undefined; temperature?: number | undefined; maxOutputTokens?: number | undefined; stopSequences?: string[] | undefined; topP?: number | undefined; topK?: number | undefined; thinkingConfig?: { thinkingLevel?: "LOW" | "MINIMAL" | "MEDIUM" | "HIGH" | undefined; thinkingBudget?: number | undefined; includeThoughts?: boolean | undefined; } | undefined; }>; type GoogleChatGenerationConfigType = z.infer; declare const GoogleChatSafetySettings: z.ZodObject<{ category: z.ZodEnum<["HARM_CATEGORY_HARASSMENT", "HARM_CATEGORY_HATE_SPEECH", "HARM_CATEGORY_SEXUALLY_EXPLICIT", "HARM_CATEGORY_DANGEROUS_CONTENT", "HARM_CATEGORY_CIVIC_INTEGRITY"]>; threshold: z.ZodEnum<["HARM_BLOCK_THRESHOLD_UNSPECIFIED", "BLOCK_LOW_AND_ABOVE", "BLOCK_MEDIUM_AND_ABOVE", "BLOCK_ONLY_HIGH", "BLOCK_NONE", "OFF"]>; }, "strip", z.ZodTypeAny, { category: "HARM_CATEGORY_HARASSMENT" | "HARM_CATEGORY_HATE_SPEECH" | "HARM_CATEGORY_SEXUALLY_EXPLICIT" | "HARM_CATEGORY_DANGEROUS_CONTENT" | "HARM_CATEGORY_CIVIC_INTEGRITY"; threshold: "HARM_BLOCK_THRESHOLD_UNSPECIFIED" | "BLOCK_LOW_AND_ABOVE" | "BLOCK_MEDIUM_AND_ABOVE" | "BLOCK_ONLY_HIGH" | "BLOCK_NONE" | "OFF"; }, { category: "HARM_CATEGORY_HARASSMENT" | "HARM_CATEGORY_HATE_SPEECH" | "HARM_CATEGORY_SEXUALLY_EXPLICIT" | "HARM_CATEGORY_DANGEROUS_CONTENT" | "HARM_CATEGORY_CIVIC_INTEGRITY"; threshold: "HARM_BLOCK_THRESHOLD_UNSPECIFIED" | "BLOCK_LOW_AND_ABOVE" | "BLOCK_MEDIUM_AND_ABOVE" | "BLOCK_ONLY_HIGH" | "BLOCK_NONE" | "OFF"; }>; type GoogleChatSafetySettingsType = z.infer; declare const GoogleChatRequest: z.ZodObject<{ model: z.ZodOptional; contents: z.ZodArray; parts: z.ZodArray, z.ZodObject<{ inline_data: z.ZodObject<{ mime_type: z.ZodString; data: z.ZodString; }, "strip", z.ZodTypeAny, { mime_type: string; data: string; }, { mime_type: string; data: string; }>; }, "strip", z.ZodTypeAny, { inline_data: { mime_type: string; data: string; }; }, { inline_data: { mime_type: string; data: string; }; }>, z.ZodObject<{ file_data: z.ZodObject<{ mime_type: z.ZodString; file_uri: z.ZodString; }, "strip", z.ZodTypeAny, { mime_type: string; file_uri: string; }, { mime_type: string; file_uri: string; }>; }, "strip", z.ZodTypeAny, { file_data: { mime_type: string; file_uri: string; }; }, { file_data: { mime_type: string; file_uri: string; }; }>, z.ZodObject<{ function_call: z.ZodObject<{ name: z.ZodString; args: z.ZodRecord; }, "strip", z.ZodTypeAny, { name: string; args: Record; }, { name: string; args: Record; }>; thought_signature: z.ZodOptional; }, "strip", z.ZodTypeAny, { function_call: { name: string; args: Record; }; thought_signature?: string | undefined; }, { function_call: { name: string; args: Record; }; thought_signature?: string | undefined; }>, z.ZodObject<{ function_response: z.ZodObject<{ name: z.ZodString; response: z.ZodRecord; }, "strip", z.ZodTypeAny, { name: string; response: Record; }, { name: string; response: Record; }>; }, "strip", z.ZodTypeAny, { function_response: { name: string; response: Record; }; }, { function_response: { name: string; response: Record; }; }>, z.ZodObject<{ text: z.ZodString; thought: z.ZodLiteral; thought_signature: z.ZodString; }, "strip", z.ZodTypeAny, { text: string; thought_signature: string; thought: true; }, { text: string; thought_signature: string; thought: true; }>, z.ZodObject<{ text: z.ZodString; thought: z.ZodLiteral; thought_signature: z.ZodString; }, "strip", z.ZodTypeAny, { text: string; thought_signature: string; thought: true; }, { text: string; thought_signature: string; thought: true; }>]>, "many">; }, "strip", z.ZodTypeAny, { role: "function" | "user" | "model"; parts: ({ text: string; } | { inline_data: { mime_type: string; data: string; }; } | { file_data: { mime_type: string; file_uri: string; }; } | { function_call: { name: string; args: Record; }; thought_signature?: string | undefined; } | { function_response: { name: string; response: Record; }; } | { text: string; thought_signature: string; thought: true; })[]; }, { role: "function" | "user" | "model"; parts: ({ text: string; } | { inline_data: { mime_type: string; data: string; }; } | { file_data: { mime_type: string; file_uri: string; }; } | { function_call: { name: string; args: Record; }; thought_signature?: string | undefined; } | { function_response: { name: string; response: Record; }; } | { text: string; thought_signature: string; thought: true; })[]; }>, "many">; systemInstruction: z.ZodOptional, "many">; }, "strip", z.ZodTypeAny, { parts: { text: string; }[]; }, { parts: { text: string; }[]; }>>; system_instruction: z.ZodOptional, "many">; }, "strip", z.ZodTypeAny, { parts: { text: string; }[]; }, { parts: { text: string; }[]; }>>; generationConfig: z.ZodOptional>; maxOutputTokens: z.ZodOptional; temperature: z.ZodOptional; topP: z.ZodOptional; topK: z.ZodOptional; presencePenalty: z.ZodOptional; frequencyPenalty: z.ZodOptional; seed: z.ZodOptional; thinkingConfig: z.ZodOptional; includeThoughts: z.ZodOptional; thinkingLevel: z.ZodOptional>; }, "strip", z.ZodTypeAny, { thinkingLevel?: "LOW" | "MINIMAL" | "MEDIUM" | "HIGH" | undefined; thinkingBudget?: number | undefined; includeThoughts?: boolean | undefined; }, { thinkingLevel?: "LOW" | "MINIMAL" | "MEDIUM" | "HIGH" | undefined; thinkingBudget?: number | undefined; includeThoughts?: boolean | undefined; }>>; }, "strip", z.ZodTypeAny, { frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; seed?: number | undefined; temperature?: number | undefined; maxOutputTokens?: number | undefined; stopSequences?: string[] | undefined; topP?: number | undefined; topK?: number | undefined; thinkingConfig?: { thinkingLevel?: "LOW" | "MINIMAL" | "MEDIUM" | "HIGH" | undefined; thinkingBudget?: number | undefined; includeThoughts?: boolean | undefined; } | undefined; }, { frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; seed?: number | undefined; temperature?: number | undefined; maxOutputTokens?: number | undefined; stopSequences?: string[] | undefined; topP?: number | undefined; topK?: number | undefined; thinkingConfig?: { thinkingLevel?: "LOW" | "MINIMAL" | "MEDIUM" | "HIGH" | undefined; thinkingBudget?: number | undefined; includeThoughts?: boolean | undefined; } | undefined; }>>; generation_config: z.ZodOptional>; maxOutputTokens: z.ZodOptional; temperature: z.ZodOptional; topP: z.ZodOptional; topK: z.ZodOptional; presencePenalty: z.ZodOptional; frequencyPenalty: z.ZodOptional; seed: z.ZodOptional; thinkingConfig: z.ZodOptional; includeThoughts: z.ZodOptional; thinkingLevel: z.ZodOptional>; }, "strip", z.ZodTypeAny, { thinkingLevel?: "LOW" | "MINIMAL" | "MEDIUM" | "HIGH" | undefined; thinkingBudget?: number | undefined; includeThoughts?: boolean | undefined; }, { thinkingLevel?: "LOW" | "MINIMAL" | "MEDIUM" | "HIGH" | undefined; thinkingBudget?: number | undefined; includeThoughts?: boolean | undefined; }>>; }, "strip", z.ZodTypeAny, { frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; seed?: number | undefined; temperature?: number | undefined; maxOutputTokens?: number | undefined; stopSequences?: string[] | undefined; topP?: number | undefined; topK?: number | undefined; thinkingConfig?: { thinkingLevel?: "LOW" | "MINIMAL" | "MEDIUM" | "HIGH" | undefined; thinkingBudget?: number | undefined; includeThoughts?: boolean | undefined; } | undefined; }, { frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; seed?: number | undefined; temperature?: number | undefined; maxOutputTokens?: number | undefined; stopSequences?: string[] | undefined; topP?: number | undefined; topK?: number | undefined; thinkingConfig?: { thinkingLevel?: "LOW" | "MINIMAL" | "MEDIUM" | "HIGH" | undefined; thinkingBudget?: number | undefined; includeThoughts?: boolean | undefined; } | undefined; }>>; safetySettings: z.ZodOptional; threshold: z.ZodEnum<["HARM_BLOCK_THRESHOLD_UNSPECIFIED", "BLOCK_LOW_AND_ABOVE", "BLOCK_MEDIUM_AND_ABOVE", "BLOCK_ONLY_HIGH", "BLOCK_NONE", "OFF"]>; }, "strip", z.ZodTypeAny, { category: "HARM_CATEGORY_HARASSMENT" | "HARM_CATEGORY_HATE_SPEECH" | "HARM_CATEGORY_SEXUALLY_EXPLICIT" | "HARM_CATEGORY_DANGEROUS_CONTENT" | "HARM_CATEGORY_CIVIC_INTEGRITY"; threshold: "HARM_BLOCK_THRESHOLD_UNSPECIFIED" | "BLOCK_LOW_AND_ABOVE" | "BLOCK_MEDIUM_AND_ABOVE" | "BLOCK_ONLY_HIGH" | "BLOCK_NONE" | "OFF"; }, { category: "HARM_CATEGORY_HARASSMENT" | "HARM_CATEGORY_HATE_SPEECH" | "HARM_CATEGORY_SEXUALLY_EXPLICIT" | "HARM_CATEGORY_DANGEROUS_CONTENT" | "HARM_CATEGORY_CIVIC_INTEGRITY"; threshold: "HARM_BLOCK_THRESHOLD_UNSPECIFIED" | "BLOCK_LOW_AND_ABOVE" | "BLOCK_MEDIUM_AND_ABOVE" | "BLOCK_ONLY_HIGH" | "BLOCK_NONE" | "OFF"; }>, "many">>; safety_settings: z.ZodOptional; threshold: z.ZodEnum<["HARM_BLOCK_THRESHOLD_UNSPECIFIED", "BLOCK_LOW_AND_ABOVE", "BLOCK_MEDIUM_AND_ABOVE", "BLOCK_ONLY_HIGH", "BLOCK_NONE", "OFF"]>; }, "strip", z.ZodTypeAny, { category: "HARM_CATEGORY_HARASSMENT" | "HARM_CATEGORY_HATE_SPEECH" | "HARM_CATEGORY_SEXUALLY_EXPLICIT" | "HARM_CATEGORY_DANGEROUS_CONTENT" | "HARM_CATEGORY_CIVIC_INTEGRITY"; threshold: "HARM_BLOCK_THRESHOLD_UNSPECIFIED" | "BLOCK_LOW_AND_ABOVE" | "BLOCK_MEDIUM_AND_ABOVE" | "BLOCK_ONLY_HIGH" | "BLOCK_NONE" | "OFF"; }, { category: "HARM_CATEGORY_HARASSMENT" | "HARM_CATEGORY_HATE_SPEECH" | "HARM_CATEGORY_SEXUALLY_EXPLICIT" | "HARM_CATEGORY_DANGEROUS_CONTENT" | "HARM_CATEGORY_CIVIC_INTEGRITY"; threshold: "HARM_BLOCK_THRESHOLD_UNSPECIFIED" | "BLOCK_LOW_AND_ABOVE" | "BLOCK_MEDIUM_AND_ABOVE" | "BLOCK_ONLY_HIGH" | "BLOCK_NONE" | "OFF"; }>, "many">>; tools: z.ZodOptional, "many">; google_search: z.ZodOptional; endTime: z.ZodOptional; }, "strip", z.ZodTypeAny, { startTime?: string | undefined; endTime?: string | undefined; }, { startTime?: string | undefined; endTime?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { timeRangeFilter?: { startTime?: string | undefined; endTime?: string | undefined; } | undefined; }, { timeRangeFilter?: { startTime?: string | undefined; endTime?: string | undefined; } | undefined; }>>; }, "strip", z.ZodTypeAny, { function_declarations: { description: string; name: string; parameters?: any; }[]; google_search?: { timeRangeFilter?: { startTime?: string | undefined; endTime?: string | undefined; } | undefined; } | undefined; }, { function_declarations: { description: string; name: string; parameters?: any; }[]; google_search?: { timeRangeFilter?: { startTime?: string | undefined; endTime?: string | undefined; } | undefined; } | undefined; }>>; toolConfig: z.ZodOptional; allowed_function_names: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode: "ANY" | "AUTO" | "NONE"; allowed_function_names?: string[] | undefined; }, { mode: "ANY" | "AUTO" | "NONE"; allowed_function_names?: string[] | undefined; }>>; include_server_side_tool_invocations: z.ZodOptional; }, "strip", z.ZodTypeAny, { function_calling_config?: { mode: "ANY" | "AUTO" | "NONE"; allowed_function_names?: string[] | undefined; } | undefined; include_server_side_tool_invocations?: boolean | undefined; }, { function_calling_config?: { mode: "ANY" | "AUTO" | "NONE"; allowed_function_names?: string[] | undefined; } | undefined; include_server_side_tool_invocations?: boolean | undefined; }>>; tool_config: z.ZodOptional; allowed_function_names: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode: "ANY" | "AUTO" | "NONE"; allowed_function_names?: string[] | undefined; }, { mode: "ANY" | "AUTO" | "NONE"; allowed_function_names?: string[] | undefined; }>>; include_server_side_tool_invocations: z.ZodOptional; }, "strip", z.ZodTypeAny, { function_calling_config?: { mode: "ANY" | "AUTO" | "NONE"; allowed_function_names?: string[] | undefined; } | undefined; include_server_side_tool_invocations?: boolean | undefined; }, { function_calling_config?: { mode: "ANY" | "AUTO" | "NONE"; allowed_function_names?: string[] | undefined; } | undefined; include_server_side_tool_invocations?: boolean | undefined; }>>; }, "strip", z.ZodTypeAny, { contents: { role: "function" | "user" | "model"; parts: ({ text: string; } | { inline_data: { mime_type: string; data: string; }; } | { file_data: { mime_type: string; file_uri: string; }; } | { function_call: { name: string; args: Record; }; thought_signature?: string | undefined; } | { function_response: { name: string; response: Record; }; } | { text: string; thought_signature: string; thought: true; })[]; }[]; safetySettings?: { category: "HARM_CATEGORY_HARASSMENT" | "HARM_CATEGORY_HATE_SPEECH" | "HARM_CATEGORY_SEXUALLY_EXPLICIT" | "HARM_CATEGORY_DANGEROUS_CONTENT" | "HARM_CATEGORY_CIVIC_INTEGRITY"; threshold: "HARM_BLOCK_THRESHOLD_UNSPECIFIED" | "BLOCK_LOW_AND_ABOVE" | "BLOCK_MEDIUM_AND_ABOVE" | "BLOCK_ONLY_HIGH" | "BLOCK_NONE" | "OFF"; }[] | undefined; model?: string | undefined; systemInstruction?: { parts: { text: string; }[]; } | undefined; system_instruction?: { parts: { text: string; }[]; } | undefined; generationConfig?: { frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; seed?: number | undefined; temperature?: number | undefined; maxOutputTokens?: number | undefined; stopSequences?: string[] | undefined; topP?: number | undefined; topK?: number | undefined; thinkingConfig?: { thinkingLevel?: "LOW" | "MINIMAL" | "MEDIUM" | "HIGH" | undefined; thinkingBudget?: number | undefined; includeThoughts?: boolean | undefined; } | undefined; } | undefined; generation_config?: { frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; seed?: number | undefined; temperature?: number | undefined; maxOutputTokens?: number | undefined; stopSequences?: string[] | undefined; topP?: number | undefined; topK?: number | undefined; thinkingConfig?: { thinkingLevel?: "LOW" | "MINIMAL" | "MEDIUM" | "HIGH" | undefined; thinkingBudget?: number | undefined; includeThoughts?: boolean | undefined; } | undefined; } | undefined; safety_settings?: { category: "HARM_CATEGORY_HARASSMENT" | "HARM_CATEGORY_HATE_SPEECH" | "HARM_CATEGORY_SEXUALLY_EXPLICIT" | "HARM_CATEGORY_DANGEROUS_CONTENT" | "HARM_CATEGORY_CIVIC_INTEGRITY"; threshold: "HARM_BLOCK_THRESHOLD_UNSPECIFIED" | "BLOCK_LOW_AND_ABOVE" | "BLOCK_MEDIUM_AND_ABOVE" | "BLOCK_ONLY_HIGH" | "BLOCK_NONE" | "OFF"; }[] | undefined; tools?: { function_declarations: { description: string; name: string; parameters?: any; }[]; google_search?: { timeRangeFilter?: { startTime?: string | undefined; endTime?: string | undefined; } | undefined; } | undefined; } | undefined; toolConfig?: { function_calling_config?: { mode: "ANY" | "AUTO" | "NONE"; allowed_function_names?: string[] | undefined; } | undefined; include_server_side_tool_invocations?: boolean | undefined; } | undefined; tool_config?: { function_calling_config?: { mode: "ANY" | "AUTO" | "NONE"; allowed_function_names?: string[] | undefined; } | undefined; include_server_side_tool_invocations?: boolean | undefined; } | undefined; }, { contents: { role: "function" | "user" | "model"; parts: ({ text: string; } | { inline_data: { mime_type: string; data: string; }; } | { file_data: { mime_type: string; file_uri: string; }; } | { function_call: { name: string; args: Record; }; thought_signature?: string | undefined; } | { function_response: { name: string; response: Record; }; } | { text: string; thought_signature: string; thought: true; })[]; }[]; safetySettings?: { category: "HARM_CATEGORY_HARASSMENT" | "HARM_CATEGORY_HATE_SPEECH" | "HARM_CATEGORY_SEXUALLY_EXPLICIT" | "HARM_CATEGORY_DANGEROUS_CONTENT" | "HARM_CATEGORY_CIVIC_INTEGRITY"; threshold: "HARM_BLOCK_THRESHOLD_UNSPECIFIED" | "BLOCK_LOW_AND_ABOVE" | "BLOCK_MEDIUM_AND_ABOVE" | "BLOCK_ONLY_HIGH" | "BLOCK_NONE" | "OFF"; }[] | undefined; model?: string | undefined; systemInstruction?: { parts: { text: string; }[]; } | undefined; system_instruction?: { parts: { text: string; }[]; } | undefined; generationConfig?: { frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; seed?: number | undefined; temperature?: number | undefined; maxOutputTokens?: number | undefined; stopSequences?: string[] | undefined; topP?: number | undefined; topK?: number | undefined; thinkingConfig?: { thinkingLevel?: "LOW" | "MINIMAL" | "MEDIUM" | "HIGH" | undefined; thinkingBudget?: number | undefined; includeThoughts?: boolean | undefined; } | undefined; } | undefined; generation_config?: { frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; seed?: number | undefined; temperature?: number | undefined; maxOutputTokens?: number | undefined; stopSequences?: string[] | undefined; topP?: number | undefined; topK?: number | undefined; thinkingConfig?: { thinkingLevel?: "LOW" | "MINIMAL" | "MEDIUM" | "HIGH" | undefined; thinkingBudget?: number | undefined; includeThoughts?: boolean | undefined; } | undefined; } | undefined; safety_settings?: { category: "HARM_CATEGORY_HARASSMENT" | "HARM_CATEGORY_HATE_SPEECH" | "HARM_CATEGORY_SEXUALLY_EXPLICIT" | "HARM_CATEGORY_DANGEROUS_CONTENT" | "HARM_CATEGORY_CIVIC_INTEGRITY"; threshold: "HARM_BLOCK_THRESHOLD_UNSPECIFIED" | "BLOCK_LOW_AND_ABOVE" | "BLOCK_MEDIUM_AND_ABOVE" | "BLOCK_ONLY_HIGH" | "BLOCK_NONE" | "OFF"; }[] | undefined; tools?: { function_declarations: { description: string; name: string; parameters?: any; }[]; google_search?: { timeRangeFilter?: { startTime?: string | undefined; endTime?: string | undefined; } | undefined; } | undefined; } | undefined; toolConfig?: { function_calling_config?: { mode: "ANY" | "AUTO" | "NONE"; allowed_function_names?: string[] | undefined; } | undefined; include_server_side_tool_invocations?: boolean | undefined; } | undefined; tool_config?: { function_calling_config?: { mode: "ANY" | "AUTO" | "NONE"; allowed_function_names?: string[] | undefined; } | undefined; include_server_side_tool_invocations?: boolean | undefined; } | undefined; }>; type GoogleChatRequestType = z.infer; declare const BaseChatModelOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }>; type BaseChatModelOptionsType = z.infer; declare class BaseChatModel implements ChatModelV1 { readonly version: "v1"; modelSchema: ChatModelSchemaType; readonly modelName: string; private readonly apiKey; private readonly baseUrl; private readonly streamChatUrl; private readonly completeChatUrl; constructor(modelSchema: ChatModelSchemaType, options: BaseChatModelOptionsType); getDefaultBaseUrl(): UrlType; getDefaultHeaders(): HeadersType; getDefaultParams(): ParamsType; getRetryDelay(_responseHeaders: HeadersType, responseData: unknown): { shouldRetry: boolean; delayMs: number; }; getTokenCount(messages: MessageType[]): number; private transformPdfMessages; transformModelRequest(request: GoogleChatRequestType): { modelName: string | undefined; config: ConfigType; messages: MessageType[]; tools: ToolType[] | undefined; }; transformConfig(config: ConfigType, messages?: MessageType[], tools?: ToolType[]): ParamsType; transformMessages(messages: MessageType[]): ParamsType; /** * Recursively removes 'additionalProperties' from a JSON schema object. * Google's Gemini API does not support this field in function parameters. */ private stripAdditionalProperties; transformTools(tools: ToolType[], config?: ConfigType): ParamsType; getCompleteChatUrl(config?: ConfigType, messages?: MessageType[], tools?: ToolType[]): Promise; getCompleteChatHeaders(config?: ConfigType, messages?: MessageType[], tools?: ToolType[]): Promise; getCompleteChatData(config: ConfigType, messages: MessageType[], tools?: ToolType[]): Promise; transformCompleteChatResponse(response: any): ChatResponseType; getStreamChatUrl(config?: ConfigType, messages?: MessageType[], tools?: ToolType[]): Promise; getStreamChatHeaders(config?: ConfigType, messages?: MessageType[], tools?: ToolType[]): Promise; getStreamChatData(config: ConfigType, messages: MessageType[], tools?: ToolType[]): Promise; transformStreamChatResponseChunk(chunk: string, buffer: string): AsyncGenerator<{ partialResponse: PartialChatResponseType; buffer: string; }>; transformProxyStreamChatResponseChunk(chunk: string, buffer: string, data?: any, headers?: Record, query?: Record): AsyncGenerator<{ partialResponse: PartialChatResponseType; buffer: string; }>; getProxyCompleteChatUrl(data?: any, headers?: Record, query?: Record): Promise; getProxyStreamChatUrl(data?: any, headers?: Record, query?: Record): Promise; getProxyCompleteChatHeaders(data?: any, headers?: Record, query?: Record): Promise; getProxyStreamChatHeaders(data?: any, headers?: Record, query?: Record): Promise; getModelPricing(): ChatModelPriceType; } declare const Gemini1_5Flash001Literal = "gemini-1.5-flash-001"; declare const Gemini1_5Flash001Schema: { description: string; maxOutputTokens: number; name: string; roles: Partial>; modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]]; maxInputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const Gemini1_5Flash001Options: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }>; type Gemini1_5Flash001OptionsType = z.infer; declare class Gemini1_5Flash001 extends BaseChatModel { constructor(options: Gemini1_5Flash001OptionsType); } declare const Gemini1_5Flash002Literal = "gemini-1.5-flash-002"; declare const Gemini1_5Flash002Schema: { description: string; maxOutputTokens: number; name: string; roles: Partial>; modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]]; maxInputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const Gemini1_5Flash002Options: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }>; type Gemini1_5Flash002OptionsType = z.infer; declare class Gemini1_5Flash002 extends BaseChatModel { constructor(options: Gemini1_5Flash002OptionsType); } declare const Gemini1_5FlashLatestLiteral = "gemini-1.5-flash-latest"; declare const Gemini1_5FlashLatestSchema: { description: string; maxOutputTokens: number; name: string; roles: Partial>; modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]]; maxInputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const Gemini1_5FlashLatestOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }>; type Gemini1_5FlashLatestOptionsType = z.infer; declare class Gemini1_5FlashLatest extends BaseChatModel { constructor(options: Gemini1_5FlashLatestOptionsType); } declare const Gemini1_5FlashLiteral = "gemini-1.5-flash"; declare const Gemini1_5FlashSchema: { description: string; maxOutputTokens: number; name: string; roles: Partial>; modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]]; maxInputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const Gemini1_5FlashOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }>; type Gemini1_5FlashOptionsType = z.infer; declare class Gemini1_5Flash extends BaseChatModel { constructor(options: Gemini1_5FlashOptionsType); } declare const Gemini1_5Pro001Literal = "gemini-1.5-pro-001"; declare const Gemini1_5Pro001Schema: { description: string; maxOutputTokens: number; name: string; roles: Partial>; modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]]; maxInputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const Gemini1_5Pro001Options: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }>; type Gemini1_5Pro001OptionsType = z.infer; declare class Gemini1_5Pro001 extends BaseChatModel { constructor(options: Gemini1_5Pro001OptionsType); } declare const Gemini1_5Pro002Literal = "gemini-1.5-pro-002"; declare const Gemini1_5Pro002Schema: { description: string; maxOutputTokens: number; name: string; roles: Partial>; modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]]; maxInputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const Gemini1_5Pro002Options: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }>; type Gemini1_5Pro002OptionsType = z.infer; declare class Gemini1_5Pro002 extends BaseChatModel { constructor(options: Gemini1_5Pro002OptionsType); } declare const Gemini1_5ProLatestLiteral = "gemini-1.5-pro-latest"; declare const Gemini1_5ProLatestSchema: { description: string; maxOutputTokens: number; name: string; roles: Partial>; modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]]; maxInputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const Gemini1_5ProLatestOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }>; type Gemini1_5ProLatestOptionsType = z.infer; declare class Gemini1_5ProLatest extends BaseChatModel { constructor(options: Gemini1_5ProLatestOptionsType); } declare const Gemini1_5ProLiteral = "gemini-1.5-pro"; declare const Gemini1_5ProSchema: { description: string; maxOutputTokens: number; name: string; roles: Partial>; modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]]; maxInputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const Gemini1_5ProOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }>; type Gemini1_5ProOptionsType = z.infer; declare class Gemini1_5Pro extends BaseChatModel { constructor(options: Gemini1_5ProOptionsType); } declare const Gemini2_0FlashExpLiteral = "gemini-2.0-flash-exp"; declare const Gemini2_0FlashExpSchema: { description: string; maxOutputTokens: number; name: string; roles: Partial>; modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]]; maxInputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const Gemini2_0FlashExpOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }>; type Gemini2_0FlashExpOptionsType = z.infer; declare class Gemini2_0FlashExp extends BaseChatModel { constructor(options: Gemini2_0FlashExpOptionsType); } declare const Gemini2_0FlashLiteral = "gemini-2.0-flash"; declare const Gemini2_0FlashSchema: { description: string; maxOutputTokens: number; name: string; roles: Partial>; modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]]; maxInputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const Gemini2_0FlashOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }>; type Gemini2_0FlashOptionsType = z.infer; declare class Gemini2_0Flash extends BaseChatModel { constructor(options: Gemini2_0FlashOptionsType); } declare const Gemini2_0FlashLiteLiteral = "gemini-2.0-flash-lite"; declare const Gemini2_0FlashLiteSchema: { description: string; maxOutputTokens: number; name: string; roles: Partial>; modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]]; maxInputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const Gemini2_0FlashLiteOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }>; type Gemini2_0FlashLiteOptionsType = z.infer; declare class Gemini2_0FlashLite extends BaseChatModel { constructor(options: Gemini2_0FlashLiteOptionsType); } declare const Gemini2_5FlashLiteLiteral = "gemini-2.5-flash-lite"; declare const Gemini2_5FlashLiteSchema: { description: string; maxOutputTokens: number; name: string; roles: Partial>; modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]]; maxInputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const Gemini2_5FlashLiteOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }>; type Gemini2_5FlashLiteOptionsType = z.infer; declare class Gemini2_5FlashLite extends BaseChatModel { constructor(options: Gemini2_5FlashLiteOptionsType); } declare const Gemini2_5FlashLitePreview092025Literal = "gemini-2.5-flash-lite-preview-09-2025"; declare const Gemini2_5FlashLitePreview092025Schema: { description: string; maxOutputTokens: number; name: string; roles: Partial>; modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]]; maxInputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const Gemini2_5FlashLitePreview092025Options: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }>; type Gemini2_5FlashLitePreview092025OptionsType = z.infer; declare class Gemini2_5FlashLitePreview092025 extends BaseChatModel { constructor(options: Gemini2_5FlashLitePreview092025OptionsType); } declare const Gemini2_5FlashPreview0417Literal = "gemini-2.5-flash-preview-04-17"; declare const Gemini2_5FlashPreview0417Schema: { description: string; maxOutputTokens: number; name: string; roles: Partial>; modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]]; maxInputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const Gemini2_5FlashPreview0417Options: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }>; type Gemini2_5FlashPreview0417OptionsType = z.infer; declare class Gemini2_5FlashPreview0417 extends BaseChatModel { constructor(options: Gemini2_5FlashPreview0417OptionsType); } declare const Gemini2_5FlashLiteral = "gemini-2.5-flash"; declare const Gemini2_5FlashSchema: { description: string; maxOutputTokens: number; name: string; roles: Partial>; modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]]; maxInputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const Gemini2_5FlashOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }>; type Gemini2_5FlashOptionsType = z.infer; declare class Gemini2_5Flash extends BaseChatModel { constructor(options: Gemini2_5FlashOptionsType); } declare const Gemini2_5ProPreview0325Literal = "gemini-2.5-pro-preview-03-25"; declare const Gemini2_5ProPreview0325Schema: { description: string; maxOutputTokens: number; name: string; roles: Partial>; modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]]; maxInputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const Gemini2_5ProPreview0325Options: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }>; type Gemini2_5ProPreview0325OptionsType = z.infer; declare class Gemini2_5ProPreview0325 extends BaseChatModel { constructor(options: Gemini2_5ProPreview0325OptionsType); } declare const Gemini2_5ProLiteral = "gemini-2.5-pro"; declare const Gemini2_5ProSchema: { description: string; maxOutputTokens: number; name: string; roles: Partial>; modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]]; maxInputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const Gemini2_5ProOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }>; type Gemini2_5ProOptionsType = z.infer; declare class Gemini2_5Pro extends BaseChatModel { constructor(options: Gemini2_5ProOptionsType); } declare const Gemini3_1ProPreviewCustomtoolsLiteral = "gemini-3.1-pro-preview-customtools"; declare const Gemini3_1ProPreviewCustomtoolsSchema: { description: string; maxOutputTokens: number; name: string; roles: Partial>; modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]]; maxInputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const Gemini3_1ProPreviewCustomtoolsOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }>; type Gemini3_1ProPreviewCustomtoolsOptionsType = z.infer; declare class Gemini3_1ProPreviewCustomtools extends BaseChatModel { constructor(options: Gemini3_1ProPreviewCustomtoolsOptionsType); } declare const Gemini3_1ProPreviewLiteral = "gemini-3.1-pro-preview"; declare const Gemini3_1ProPreviewSchema: { description: string; maxOutputTokens: number; name: string; roles: Partial>; modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]]; maxInputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const Gemini3_1ProPreviewOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }>; type Gemini3_1ProPreviewOptionsType = z.infer; declare class Gemini3_1ProPreview extends BaseChatModel { constructor(options: Gemini3_1ProPreviewOptionsType); } declare const Gemini3_1FlashLiteLiteral = "gemini-3.1-flash-lite"; declare const Gemini3_1FlashLiteSchema: { description: string; maxOutputTokens: number; name: string; roles: Partial>; modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]]; maxInputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const Gemini3_1FlashLiteOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }>; type Gemini3_1FlashLiteOptionsType = z.infer; declare class Gemini3_1FlashLite extends BaseChatModel { constructor(options: Gemini3_1FlashLiteOptionsType); } declare const Gemini3_5FlashLiteral = "gemini-3.5-flash"; declare const Gemini3_5FlashSchema: { description: string; maxOutputTokens: number; name: string; roles: Partial>; modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]]; maxInputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const Gemini3_5FlashOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }>; type Gemini3_5FlashOptionsType = z.infer; declare class Gemini3_5Flash extends BaseChatModel { constructor(options: Gemini3_5FlashOptionsType); } declare const Gemini3FlashPreviewLiteral = "gemini-3-flash-preview"; declare const Gemini3FlashPreviewSchema: { description: string; maxOutputTokens: number; name: string; roles: Partial>; modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]]; maxInputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const Gemini3FlashPreviewOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }>; type Gemini3FlashPreviewOptionsType = z.infer; declare class Gemini3FlashPreview extends BaseChatModel { constructor(options: Gemini3FlashPreviewOptionsType); } declare const Gemini3ProPreviewLiteral = "gemini-3-pro-preview"; declare const Gemini3ProPreviewSchema: { description: string; maxOutputTokens: number; name: string; roles: Partial>; modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]]; maxInputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const Gemini3ProPreviewOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; }>; type Gemini3ProPreviewOptionsType = z.infer; declare class Gemini3ProPreview extends BaseChatModel { constructor(options: Gemini3ProPreviewOptionsType); } declare const GoogleEmbeddingModelModalities: EmbeddingModelSchemaType["modalities"]; declare const GoogleEmbeddingModelModalitiesEnum: z.ZodEnum<["text"]>; declare const GoogleGetEmbeddingsResponse: z.ZodObject<{ embeddings: z.ZodArray; }, "strip", z.ZodTypeAny, { values: number[]; }, { values: number[]; }>, "many">; }, "strip", z.ZodTypeAny, { embeddings: { values: number[]; }[]; }, { embeddings: { values: number[]; }[]; }>; type GoogleGetEmbeddingsResponseType = z.infer; declare const GoogleEmbeddingRequestInput: z.ZodObject<{ model: z.ZodString; content: z.ZodObject<{ parts: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { parts: { text: string; }[]; }, { parts: { text: string; }[]; }>; }, "strip", z.ZodTypeAny, { content: { parts: { text: string; }[]; }; model: string; }, { content: { parts: { text: string; }[]; }; model: string; }>; type GoogleEmbeddingRequestInputType = z.infer; declare const GoogleEmbeddingRequest: z.ZodObject<{ model: z.ZodOptional; requests: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { parts: { text: string; }[]; }, { parts: { text: string; }[]; }>; }, "strip", z.ZodTypeAny, { content: { parts: { text: string; }[]; }; model: string; }, { content: { parts: { text: string; }[]; }; model: string; }>, "many">; outputDimensionality: z.ZodOptional; }, "strip", z.ZodTypeAny, { requests: { content: { parts: { text: string; }[]; }; model: string; }[]; outputDimensionality?: number | undefined; model?: string | undefined; }, { requests: { content: { parts: { text: string; }[]; }; model: string; }[]; outputDimensionality?: number | undefined; model?: string | undefined; }>; type GoogleEmbeddingRequestType = z.infer; declare const BaseEmbeddingModelOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; getEmbeddingsUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; getEmbeddingsUrl?: string | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; getEmbeddingsUrl?: string | undefined; }>; type BaseEmbeddingModelOptionsType = z.infer; declare class BaseEmbeddingModel implements EmbeddingModelV1 { readonly version: "v1"; modelSchema: EmbeddingModelSchemaType; readonly modelName: string; private readonly apiKey; private readonly baseUrl; private readonly getEmbeddingsUrl; constructor(modelSchema: EmbeddingModelSchemaType, options: BaseEmbeddingModelOptionsType); getDefaultBaseUrl(): UrlType; getDefaultHeaders(): HeadersType; getDefaultParams(): ParamsType; getRetryDelay(_responseHeaders: HeadersType, responseData: unknown): { shouldRetry: boolean; delayMs: number; }; getTokenCount(requests: EmbeddingRequestsType): number; transformModelRequest(request: any): { modelName: string | undefined; config: ConfigType; embeddingRequests: EmbeddingRequestsType; }; transformConfig(config: ConfigType, requests?: EmbeddingRequestsType): ParamsType; transformEmbeddingRequests(requests: EmbeddingRequestsType): ParamsType; getGetEmbeddingsUrl(config?: ConfigType, requests?: EmbeddingRequestsType): Promise; getGetEmbeddingsHeaders(config?: ConfigType, requests?: EmbeddingRequestsType): Promise; getGetEmbeddingsData(config: ConfigType, requests: EmbeddingRequestsType): Promise; transformGetEmbeddingsResponse(response: any): EmbeddingResponseType; getModelPricing(): EmbeddingModelPriceType; } declare const Text_Embedding_001Literal = "text-embedding-001"; declare const Text_Embedding_001Schema: { description: string; name: string; modalities: ["text", ..."text"[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { inputPricePerMillion: number; modelName: string; currency: string; }; }; declare const Text_Embedding_001Options: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; getEmbeddingsUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; getEmbeddingsUrl?: string | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; getEmbeddingsUrl?: string | undefined; }>; type Text_Embedding_001OptionsType = z.infer; declare class Text_Embedding_001 extends BaseEmbeddingModel { constructor(options: Text_Embedding_001OptionsType); } declare const Text_Embedding_004Literal = "text-embedding-004"; declare const Text_Embedding_004Schema: { description: string; name: string; modalities: ["text", ..."text"[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { inputPricePerMillion: number; modelName: string; currency: string; }; }; declare const Text_Embedding_004Options: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; getEmbeddingsUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; getEmbeddingsUrl?: string | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; getEmbeddingsUrl?: string | undefined; }>; type Text_Embedding_004OptionsType = z.infer; declare class Text_Embedding_004 extends BaseEmbeddingModel { constructor(options: Text_Embedding_004OptionsType); } declare const Gemini_Embedding_001Literal = "gemini-embedding-001"; declare const Gemini_Embedding_001Schema: { description: string; name: string; modalities: ["text", ..."text"[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { inputPricePerMillion: number; modelName: string; currency: string; }; }; declare const Gemini_Embedding_001Options: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; getEmbeddingsUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; getEmbeddingsUrl?: string | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; getEmbeddingsUrl?: string | undefined; }>; type Gemini_Embedding_001OptionsType = z.infer; declare class Gemini_Embedding_001 extends BaseEmbeddingModel { constructor(options: Gemini_Embedding_001OptionsType); } declare const Gemini_Embedding_2Literal = "gemini-embedding-2"; declare const Gemini_Embedding_2Schema: { description: string; name: string; modalities: ["text", ..."text"[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { inputPricePerMillion: number; modelName: string; currency: string; }; }; declare const Gemini_Embedding_2Options: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; getEmbeddingsUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; getEmbeddingsUrl?: string | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; getEmbeddingsUrl?: string | undefined; }>; type Gemini_Embedding_2OptionsType = z.infer; declare class Gemini_Embedding_2 extends BaseEmbeddingModel { constructor(options: Gemini_Embedding_2OptionsType); } declare const ProviderLiteral = "google"; declare class Google implements ProviderV1 { readonly version: "v1"; readonly name = "google"; static readonly baseUrl: string; private readonly chatModelFactories; private readonly embeddingModelFactories; chatModelLiterals(): string[]; chatModelSchemas(): Record; chatModel(options: C): ChatModelV1; embeddingModelLiterals(): string[]; embeddingModelSchemas(): Record; embeddingModel(options: E): EmbeddingModelV1; } export { BaseChatModel, BaseChatModelOptions, type BaseChatModelOptionsType, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, ChatModelBaseConfigDef, ChatModelBaseConfigSchema, ChatModelReasoningConfigDef, ChatModelReasoningConfigSchema, EmbeddingModelBaseConfigDef, EmbeddingModelBaseConfigSchema, GOOGLE_SAFETY_CATEGORIES, GOOGLE_SAFETY_CATEGORY_OPTIONS, GOOGLE_SAFETY_THRESHOLDS, GOOGLE_SAFETY_THRESHOLD_OPTIONS, Gemini1_5Flash, Gemini1_5Flash001, Gemini1_5Flash001Literal, Gemini1_5Flash001Options, type Gemini1_5Flash001OptionsType, Gemini1_5Flash001Schema, Gemini1_5Flash002, Gemini1_5Flash002Literal, Gemini1_5Flash002Options, type Gemini1_5Flash002OptionsType, Gemini1_5Flash002Schema, Gemini1_5FlashLatest, Gemini1_5FlashLatestLiteral, Gemini1_5FlashLatestOptions, type Gemini1_5FlashLatestOptionsType, Gemini1_5FlashLatestSchema, Gemini1_5FlashLiteral, Gemini1_5FlashOptions, type Gemini1_5FlashOptionsType, Gemini1_5FlashSchema, Gemini1_5Pro, Gemini1_5Pro001, Gemini1_5Pro001Literal, Gemini1_5Pro001Options, type Gemini1_5Pro001OptionsType, Gemini1_5Pro001Schema, Gemini1_5Pro002, Gemini1_5Pro002Literal, Gemini1_5Pro002Options, type Gemini1_5Pro002OptionsType, Gemini1_5Pro002Schema, Gemini1_5ProLatest, Gemini1_5ProLatestLiteral, Gemini1_5ProLatestOptions, type Gemini1_5ProLatestOptionsType, Gemini1_5ProLatestSchema, Gemini1_5ProLiteral, Gemini1_5ProOptions, type Gemini1_5ProOptionsType, Gemini1_5ProSchema, Gemini2_0Flash, Gemini2_0FlashExp, Gemini2_0FlashExpLiteral, Gemini2_0FlashExpOptions, type Gemini2_0FlashExpOptionsType, Gemini2_0FlashExpSchema, Gemini2_0FlashLite, Gemini2_0FlashLiteLiteral, Gemini2_0FlashLiteOptions, type Gemini2_0FlashLiteOptionsType, Gemini2_0FlashLiteSchema, Gemini2_0FlashLiteral, Gemini2_0FlashOptions, type Gemini2_0FlashOptionsType, Gemini2_0FlashSchema, Gemini2_5Flash, Gemini2_5FlashLite, Gemini2_5FlashLiteLiteral, Gemini2_5FlashLiteOptions, type Gemini2_5FlashLiteOptionsType, Gemini2_5FlashLitePreview092025, Gemini2_5FlashLitePreview092025Literal, Gemini2_5FlashLitePreview092025Options, type Gemini2_5FlashLitePreview092025OptionsType, Gemini2_5FlashLitePreview092025Schema, Gemini2_5FlashLiteSchema, Gemini2_5FlashLiteral, Gemini2_5FlashOptions, type Gemini2_5FlashOptionsType, Gemini2_5FlashPreview0417, Gemini2_5FlashPreview0417Literal, Gemini2_5FlashPreview0417Options, type Gemini2_5FlashPreview0417OptionsType, Gemini2_5FlashPreview0417Schema, Gemini2_5FlashSchema, Gemini2_5Pro, Gemini2_5ProLiteral, Gemini2_5ProOptions, type Gemini2_5ProOptionsType, Gemini2_5ProPreview0325, Gemini2_5ProPreview0325Literal, Gemini2_5ProPreview0325Options, type Gemini2_5ProPreview0325OptionsType, Gemini2_5ProPreview0325Schema, Gemini2_5ProSchema, Gemini3FlashPreview, Gemini3FlashPreviewLiteral, Gemini3FlashPreviewOptions, type Gemini3FlashPreviewOptionsType, Gemini3FlashPreviewSchema, Gemini3ProPreview, Gemini3ProPreviewLiteral, Gemini3ProPreviewOptions, type Gemini3ProPreviewOptionsType, Gemini3ProPreviewSchema, Gemini3_1FlashLite, Gemini3_1FlashLiteLiteral, Gemini3_1FlashLiteOptions, type Gemini3_1FlashLiteOptionsType, Gemini3_1FlashLiteSchema, Gemini3_1ProPreview, Gemini3_1ProPreviewCustomtools, Gemini3_1ProPreviewCustomtoolsLiteral, Gemini3_1ProPreviewCustomtoolsOptions, type Gemini3_1ProPreviewCustomtoolsOptionsType, Gemini3_1ProPreviewCustomtoolsSchema, Gemini3_1ProPreviewLiteral, Gemini3_1ProPreviewOptions, type Gemini3_1ProPreviewOptionsType, Gemini3_1ProPreviewSchema, Gemini3_5Flash, Gemini3_5FlashLiteral, Gemini3_5FlashOptions, type Gemini3_5FlashOptionsType, Gemini3_5FlashSchema, Gemini_Embedding_001, Gemini_Embedding_001Literal, Gemini_Embedding_001Options, type Gemini_Embedding_001OptionsType, Gemini_Embedding_001Schema, Gemini_Embedding_2, Gemini_Embedding_2Literal, Gemini_Embedding_2Options, type Gemini_Embedding_2OptionsType, Gemini_Embedding_2Schema, Google, GoogleChatAssistantRoleLiteral, GoogleChatContent, GoogleChatContentPartFileData, type GoogleChatContentPartFileDataType, GoogleChatContentPartFunctionCall, type GoogleChatContentPartFunctionCallType, GoogleChatContentPartFunctionResponse, type GoogleChatContentPartFunctionResponseType, GoogleChatContentPartInlineData, type GoogleChatContentPartInlineDataType, GoogleChatContentPartText, type GoogleChatContentPartTextType, GoogleChatContentPartThinking, type GoogleChatContentPartThinkingType, type GoogleChatContentType, GoogleChatGenerationConfig, type GoogleChatGenerationConfigType, GoogleChatGoogleSearchTool, type GoogleChatGoogleSearchToolType, GoogleChatModelConfigs, GoogleChatModelModalities, GoogleChatModelModalitiesEnum, GoogleChatModelResponseSchemaConfigDef, GoogleChatModelResponseSchemaConfigSchema, GoogleChatModelRoles, GoogleChatModelRolesMap, GoogleChatModelTextModalities, GoogleChatModelTextModalitiesEnum, GoogleChatModelTextToolModalities, GoogleChatModelTextToolModalitiesEnum, GoogleChatModelTextVisionModalities, GoogleChatModelTextVisionModalitiesEnum, GoogleChatRequest, type GoogleChatRequestType, GoogleChatSafetySettings, type GoogleChatSafetySettingsType, GoogleChatSystemInstruction, type GoogleChatSystemInstructionType, GoogleChatThinkingConfig, type GoogleChatThinkingConfigType, GoogleChatTool, GoogleChatToolConfig, type GoogleChatToolConfigType, GoogleChatToolRoleLiteral, type GoogleChatToolType, GoogleCompleteChatResponse, type GoogleCompleteChatResponseType, GoogleCompleteChatServerSideToolCallResponse, GoogleCompleteChatServerSideToolResultResponse, GoogleCompleteChatTextResponse, GoogleCompleteChatToolResponse, GoogleEmbeddingModelConfigs, GoogleEmbeddingModelModalities, GoogleEmbeddingModelModalitiesEnum, GoogleEmbeddingRequest, GoogleEmbeddingRequestInput, type GoogleEmbeddingRequestInputType, type GoogleEmbeddingRequestType, GoogleGetEmbeddingsResponse, type GoogleGetEmbeddingsResponseType, GoogleGroundingChunk, type GoogleGroundingChunkType, type GoogleGroundingChunkWebType, GoogleGroundingMetadata, type GoogleGroundingMetadataType, GoogleGroundingSupport, type GoogleGroundingSupportType, GoogleSearchEntryPoint, type GoogleSearchEntryPointType, type GoogleSegmentType, GoogleStreamChatResponse, type GoogleStreamChatResponseType, GoogleStreamChatServerSideToolCallResponse, GoogleStreamChatServerSideToolResultResponse, GoogleStreamChatTextResponse, GoogleStreamChatToolResponse, ProviderLiteral, Text_Embedding_001, Text_Embedding_001Literal, Text_Embedding_001Options, type Text_Embedding_001OptionsType, Text_Embedding_001Schema, Text_Embedding_004, Text_Embedding_004Literal, Text_Embedding_004Options, type Text_Embedding_004OptionsType, Text_Embedding_004Schema, dimensions, frequencyPenalty, googleSearchTool, maxReasoningTokens, maxTokens, presencePenalty, reasoningEffort, reasoningEnabled, safetySettings, seed, stop, temperature, toolChoice, topK, topP };