import { z, ActionMetadata } from 'genkit'; import { ModelReference, BackgroundModelAction } from 'genkit/model'; import { GoogleAIPluginOptions, Model } from './types.mjs'; import '../common/interaction-types.mjs'; import '../common/types.mjs'; /** * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare const DeepResearchConfigSchema: z.ZodObject<{ apiKey: z.ZodOptional; baseUrl: z.ZodOptional; apiVersion: z.ZodOptional; thinkingSummaries: z.ZodOptional>; previousInteractionId: z.ZodOptional; store: z.ZodOptional; responseModalities: z.ZodOptional, "many">>; visualization: z.ZodOptional>; collaborativePlanning: z.ZodOptional; googleSearch: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; urlContext: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; codeExecution: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; fileSearch: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">>>; mcpServers: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ apiKey: z.ZodOptional; baseUrl: z.ZodOptional; apiVersion: z.ZodOptional; thinkingSummaries: z.ZodOptional>; previousInteractionId: z.ZodOptional; store: z.ZodOptional; responseModalities: z.ZodOptional, "many">>; visualization: z.ZodOptional>; collaborativePlanning: z.ZodOptional; googleSearch: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; urlContext: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; codeExecution: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; fileSearch: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">>>; mcpServers: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ apiKey: z.ZodOptional; baseUrl: z.ZodOptional; apiVersion: z.ZodOptional; thinkingSummaries: z.ZodOptional>; previousInteractionId: z.ZodOptional; store: z.ZodOptional; responseModalities: z.ZodOptional, "many">>; visualization: z.ZodOptional>; collaborativePlanning: z.ZodOptional; googleSearch: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; urlContext: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; codeExecution: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; fileSearch: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">>>; mcpServers: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">>, "many">>; }, z.ZodTypeAny, "passthrough">>; type DeepResearchConfigSchemaType = typeof DeepResearchConfigSchema; type DeepResearchConfig = z.infer; type ConfigSchemaType = DeepResearchConfigSchemaType; declare const KNOWN_MODELS: { readonly 'deep-research-preview-04-2026': ModelReference; baseUrl: z.ZodOptional; apiVersion: z.ZodOptional; thinkingSummaries: z.ZodOptional>; previousInteractionId: z.ZodOptional; store: z.ZodOptional; responseModalities: z.ZodOptional, "many">>; visualization: z.ZodOptional>; collaborativePlanning: z.ZodOptional; googleSearch: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; urlContext: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; codeExecution: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; fileSearch: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">>>; mcpServers: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ apiKey: z.ZodOptional; baseUrl: z.ZodOptional; apiVersion: z.ZodOptional; thinkingSummaries: z.ZodOptional>; previousInteractionId: z.ZodOptional; store: z.ZodOptional; responseModalities: z.ZodOptional, "many">>; visualization: z.ZodOptional>; collaborativePlanning: z.ZodOptional; googleSearch: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; urlContext: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; codeExecution: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; fileSearch: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">>>; mcpServers: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ apiKey: z.ZodOptional; baseUrl: z.ZodOptional; apiVersion: z.ZodOptional; thinkingSummaries: z.ZodOptional>; previousInteractionId: z.ZodOptional; store: z.ZodOptional; responseModalities: z.ZodOptional, "many">>; visualization: z.ZodOptional>; collaborativePlanning: z.ZodOptional; googleSearch: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; urlContext: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; codeExecution: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; fileSearch: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">>>; mcpServers: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">>, "many">>; }, z.ZodTypeAny, "passthrough">>>; readonly 'deep-research-max-preview-04-2026': ModelReference; baseUrl: z.ZodOptional; apiVersion: z.ZodOptional; thinkingSummaries: z.ZodOptional>; previousInteractionId: z.ZodOptional; store: z.ZodOptional; responseModalities: z.ZodOptional, "many">>; visualization: z.ZodOptional>; collaborativePlanning: z.ZodOptional; googleSearch: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; urlContext: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; codeExecution: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; fileSearch: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">>>; mcpServers: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ apiKey: z.ZodOptional; baseUrl: z.ZodOptional; apiVersion: z.ZodOptional; thinkingSummaries: z.ZodOptional>; previousInteractionId: z.ZodOptional; store: z.ZodOptional; responseModalities: z.ZodOptional, "many">>; visualization: z.ZodOptional>; collaborativePlanning: z.ZodOptional; googleSearch: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; urlContext: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; codeExecution: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; fileSearch: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">>>; mcpServers: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ apiKey: z.ZodOptional; baseUrl: z.ZodOptional; apiVersion: z.ZodOptional; thinkingSummaries: z.ZodOptional>; previousInteractionId: z.ZodOptional; store: z.ZodOptional; responseModalities: z.ZodOptional, "many">>; visualization: z.ZodOptional>; collaborativePlanning: z.ZodOptional; googleSearch: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; urlContext: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; codeExecution: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; fileSearch: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">>>; mcpServers: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">>, "many">>; }, z.ZodTypeAny, "passthrough">>>; }; type KnownModels = keyof typeof KNOWN_MODELS; type DeepResearchModelName = `deep-research-${string}`; declare function isDeepResearchModelName(value?: string): value is DeepResearchModelName; declare function model(version: string, config?: DeepResearchConfig): ModelReference; declare function listActions(models: Model[]): ActionMetadata[]; declare function listKnownModels(options?: GoogleAIPluginOptions): BackgroundModelAction; baseUrl: z.ZodOptional; apiVersion: z.ZodOptional; thinkingSummaries: z.ZodOptional>; previousInteractionId: z.ZodOptional; store: z.ZodOptional; responseModalities: z.ZodOptional, "many">>; visualization: z.ZodOptional>; collaborativePlanning: z.ZodOptional; googleSearch: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; urlContext: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; codeExecution: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; fileSearch: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">>>; mcpServers: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ apiKey: z.ZodOptional; baseUrl: z.ZodOptional; apiVersion: z.ZodOptional; thinkingSummaries: z.ZodOptional>; previousInteractionId: z.ZodOptional; store: z.ZodOptional; responseModalities: z.ZodOptional, "many">>; visualization: z.ZodOptional>; collaborativePlanning: z.ZodOptional; googleSearch: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; urlContext: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; codeExecution: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; fileSearch: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">>>; mcpServers: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ apiKey: z.ZodOptional; baseUrl: z.ZodOptional; apiVersion: z.ZodOptional; thinkingSummaries: z.ZodOptional>; previousInteractionId: z.ZodOptional; store: z.ZodOptional; responseModalities: z.ZodOptional, "many">>; visualization: z.ZodOptional>; collaborativePlanning: z.ZodOptional; googleSearch: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; urlContext: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; codeExecution: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; fileSearch: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">>>; mcpServers: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">>, "many">>; }, z.ZodTypeAny, "passthrough">>>[]; declare function defineModel(name: string, pluginOptions?: GoogleAIPluginOptions): BackgroundModelAction; declare const TEST_ONLY: { KNOWN_MODELS: { readonly 'deep-research-preview-04-2026': ModelReference; baseUrl: z.ZodOptional; apiVersion: z.ZodOptional; thinkingSummaries: z.ZodOptional>; previousInteractionId: z.ZodOptional; store: z.ZodOptional; responseModalities: z.ZodOptional, "many">>; visualization: z.ZodOptional>; collaborativePlanning: z.ZodOptional; googleSearch: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; urlContext: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; codeExecution: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; fileSearch: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">>>; mcpServers: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ apiKey: z.ZodOptional; baseUrl: z.ZodOptional; apiVersion: z.ZodOptional; thinkingSummaries: z.ZodOptional>; previousInteractionId: z.ZodOptional; store: z.ZodOptional; responseModalities: z.ZodOptional, "many">>; visualization: z.ZodOptional>; collaborativePlanning: z.ZodOptional; googleSearch: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; urlContext: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; codeExecution: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; fileSearch: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">>>; mcpServers: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ apiKey: z.ZodOptional; baseUrl: z.ZodOptional; apiVersion: z.ZodOptional; thinkingSummaries: z.ZodOptional>; previousInteractionId: z.ZodOptional; store: z.ZodOptional; responseModalities: z.ZodOptional, "many">>; visualization: z.ZodOptional>; collaborativePlanning: z.ZodOptional; googleSearch: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; urlContext: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; codeExecution: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; fileSearch: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">>>; mcpServers: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">>, "many">>; }, z.ZodTypeAny, "passthrough">>>; readonly 'deep-research-max-preview-04-2026': ModelReference; baseUrl: z.ZodOptional; apiVersion: z.ZodOptional; thinkingSummaries: z.ZodOptional>; previousInteractionId: z.ZodOptional; store: z.ZodOptional; responseModalities: z.ZodOptional, "many">>; visualization: z.ZodOptional>; collaborativePlanning: z.ZodOptional; googleSearch: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; urlContext: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; codeExecution: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; fileSearch: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">>>; mcpServers: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ apiKey: z.ZodOptional; baseUrl: z.ZodOptional; apiVersion: z.ZodOptional; thinkingSummaries: z.ZodOptional>; previousInteractionId: z.ZodOptional; store: z.ZodOptional; responseModalities: z.ZodOptional, "many">>; visualization: z.ZodOptional>; collaborativePlanning: z.ZodOptional; googleSearch: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; urlContext: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; codeExecution: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; fileSearch: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">>>; mcpServers: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ apiKey: z.ZodOptional; baseUrl: z.ZodOptional; apiVersion: z.ZodOptional; thinkingSummaries: z.ZodOptional>; previousInteractionId: z.ZodOptional; store: z.ZodOptional; responseModalities: z.ZodOptional, "many">>; visualization: z.ZodOptional>; collaborativePlanning: z.ZodOptional; googleSearch: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; urlContext: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; codeExecution: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; fileSearch: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">>>; mcpServers: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">>, "many">>; }, z.ZodTypeAny, "passthrough">>>; }; HIDDEN_MODELS: { readonly 'deep-research-pro-preview-12-2025': ModelReference; baseUrl: z.ZodOptional; apiVersion: z.ZodOptional; thinkingSummaries: z.ZodOptional>; previousInteractionId: z.ZodOptional; store: z.ZodOptional; responseModalities: z.ZodOptional, "many">>; visualization: z.ZodOptional>; collaborativePlanning: z.ZodOptional; googleSearch: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; urlContext: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; codeExecution: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; fileSearch: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">>>; mcpServers: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ apiKey: z.ZodOptional; baseUrl: z.ZodOptional; apiVersion: z.ZodOptional; thinkingSummaries: z.ZodOptional>; previousInteractionId: z.ZodOptional; store: z.ZodOptional; responseModalities: z.ZodOptional, "many">>; visualization: z.ZodOptional>; collaborativePlanning: z.ZodOptional; googleSearch: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; urlContext: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; codeExecution: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; fileSearch: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">>>; mcpServers: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ apiKey: z.ZodOptional; baseUrl: z.ZodOptional; apiVersion: z.ZodOptional; thinkingSummaries: z.ZodOptional>; previousInteractionId: z.ZodOptional; store: z.ZodOptional; responseModalities: z.ZodOptional, "many">>; visualization: z.ZodOptional>; collaborativePlanning: z.ZodOptional; googleSearch: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; urlContext: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; codeExecution: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; fileSearch: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">>>; mcpServers: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">>, "many">>; }, z.ZodTypeAny, "passthrough">>>; }; GENERIC_MODEL: ModelReference; baseUrl: z.ZodOptional; apiVersion: z.ZodOptional; thinkingSummaries: z.ZodOptional>; previousInteractionId: z.ZodOptional; store: z.ZodOptional; responseModalities: z.ZodOptional, "many">>; visualization: z.ZodOptional>; collaborativePlanning: z.ZodOptional; googleSearch: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; urlContext: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; codeExecution: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; fileSearch: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">>>; mcpServers: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ apiKey: z.ZodOptional; baseUrl: z.ZodOptional; apiVersion: z.ZodOptional; thinkingSummaries: z.ZodOptional>; previousInteractionId: z.ZodOptional; store: z.ZodOptional; responseModalities: z.ZodOptional, "many">>; visualization: z.ZodOptional>; collaborativePlanning: z.ZodOptional; googleSearch: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; urlContext: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; codeExecution: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; fileSearch: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">>>; mcpServers: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ apiKey: z.ZodOptional; baseUrl: z.ZodOptional; apiVersion: z.ZodOptional; thinkingSummaries: z.ZodOptional>; previousInteractionId: z.ZodOptional; store: z.ZodOptional; responseModalities: z.ZodOptional, "many">>; visualization: z.ZodOptional>; collaborativePlanning: z.ZodOptional; googleSearch: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; urlContext: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; codeExecution: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>; fileSearch: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ fileSearchStoreNames: z.ZodArray; }, z.ZodTypeAny, "passthrough">>>; mcpServers: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodOptional; url: z.ZodOptional; headers: z.ZodOptional>; allowedTools: z.ZodOptional, z.ZodArray>; tools: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }, { mode?: "auto" | "none" | "any" | "validated" | undefined; tools?: string[] | undefined; }>, "many">]>>; }, z.ZodTypeAny, "passthrough">>, "many">>; }, z.ZodTypeAny, "passthrough">>>; }; export { type DeepResearchConfig, DeepResearchConfigSchema, type DeepResearchConfigSchemaType, type DeepResearchModelName, type KnownModels, TEST_ONLY, defineModel, isDeepResearchModelName, listActions, listKnownModels, model };