/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { type ContentGenerator, type ContentGeneratorConfig } from './contentGenerator.js'; import { type GenerateContentParameters, GenerateContentResponse, type CountTokensParameters, CountTokensResponse, type EmbedContentParameters, EmbedContentResponse } from '@google/genai'; /** * Wrapper around GoogleGenAI models interface to implement ContentGenerator * This wrapper ensures that user_prompt_id is NOT passed to the Google GenAI API */ export declare class GoogleGenAIWrapper implements ContentGenerator { private models; constructor(config: ContentGeneratorConfig, httpOptions: { headers: Record; }); generateContent(request: GenerateContentParameters): Promise; generateContentStream(request: GenerateContentParameters): Promise>; countTokens(request: CountTokensParameters): Promise; embedContent(request: EmbedContentParameters): Promise; }