import { GoogleMessage, GoogleChat, Config } from './chat.js'; import { GoogleImagesGeneration } from './images-generation.js'; import type { GoogleGenAI } from '@google/genai'; type GPTContent = { type: 'image_url' | 'text' | 'input_text' | 'input_image'; text?: string; image_url?: string | { url: string; detail?: string; }; }; type GPTMessage = { role: 'system' | 'user' | 'assistant'; content: string | GPTContent[]; }; export declare class GoogleCtodService { googleGenAI: GoogleGenAI; constructor(googleGenAI: any); static chatGPTMessageToGoogleChatMessage(messages: GPTMessage[]): { system: string; messages: GoogleMessage[]; }; static createChatRequestWithJsonSchema(params: { googleGenAI: any; config: Partial> | (() => Promise>>); model: string; }): (messages: any[], { schema, abortController }: any) => Promise; createChat(): GoogleChat; createImagesGeneration(): GoogleImagesGeneration; } export {};