import { ModelReference, z, EmbedderReference } from 'genkit'; import { GenkitPluginV2 } from 'genkit/plugin'; import { GoogleAIPluginOptions } from './types.mjs'; import { KnownModels as KnownModels$3, AntigravityModelName, AntigravityConfig, AntigravityConfigSchemaType } from './antigravity.mjs'; import { KnownModels as KnownModels$1, DeepResearchModelName, DeepResearchConfig, DeepResearchConfigSchemaType } from './deep-research.mjs'; import { KnownModels as KnownModels$4, EmbedderModelName, EmbeddingConfig, EmbeddingConfigSchemaType } from './embedder.mjs'; import { KnownGemmaModels, GemmaModelName, GemmaConfig, GemmaConfigSchemaType, KnownTtsModels, TTSModelName, GeminiTtsConfig, GeminiTtsConfigSchemaType, KnownImageModels, ImageModelName, GeminiImageConfig, GeminiImageConfigSchemaType, KnownVideoModels, VideoModelName, GeminiVideoConfig, GeminiVideoConfigSchemaType, KnownGeminiModels, GeminiModelName, GeminiConfig, GeminiConfigSchemaType } from './gemini.mjs'; import { KnownModels as KnownModels$2, LyriaModelName, LyriaConfig, LyriaConfigSchemaType } from './lyria.mjs'; import { KnownModels, VeoModelName, VeoConfig, VeoConfigSchemaType } from './veo.mjs'; export { GeminiInteraction, TextAnnotation, UrlCitation } from '../common/interaction-types.mjs'; import '../common/types.mjs'; import 'genkit/model'; /** * 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. */ /** * Google Gemini Developer API plugin. */ declare function googleAIPlugin(options?: GoogleAIPluginOptions): GenkitPluginV2; type GoogleAIPlugin = { (pluginOptions?: GoogleAIPluginOptions): GenkitPluginV2; model(name: KnownGemmaModels | (GemmaModelName & {}), config: GemmaConfig): ModelReference; model(name: KnownTtsModels | (TTSModelName & {}), config: GeminiTtsConfig): ModelReference; model(name: KnownImageModels | (ImageModelName & {}), config: GeminiImageConfig): ModelReference; model(name: KnownVideoModels | (VideoModelName & {}), config?: GeminiVideoConfig): ModelReference; model(name: KnownGeminiModels | (GeminiModelName & {}), config?: GeminiConfig): ModelReference; model(name: KnownModels | (VeoModelName & {}), config?: VeoConfig): ModelReference; model(name: KnownModels$1 | (DeepResearchModelName & {}), config?: DeepResearchConfig): ModelReference; model(name: KnownModels$2 | (LyriaModelName & {}), config?: LyriaConfig): ModelReference; model(name: KnownModels$3 | (AntigravityModelName & {}), config?: AntigravityConfig): ModelReference; model(name: string, config?: any): ModelReference; embedder(name: KnownModels$4 | (EmbedderModelName & {}), config?: EmbeddingConfig): EmbedderReference; }; /** * Google Gemini Developer API plugin. */ declare const googleAI: GoogleAIPlugin; export { AntigravityConfig, DeepResearchConfig, EmbeddingConfig, GeminiConfig, GeminiImageConfig, GeminiTtsConfig, GeminiVideoConfig, type GoogleAIPlugin, GoogleAIPluginOptions, LyriaConfig, googleAI as default, googleAI, googleAIPlugin };