import type { AIImage, AIImageOptions, AIChatOptions, AIClient, AIClientConfig, AIJSONOptions, AIMessage, AITool, AIToolChatOptions, AIToolChatResult, AIVisionOptions } from '../types.js'; export declare class GeminiAIClient implements AIClient { readonly id: string; private sdk; private defaultModel; private apiKey; private baseURL?; constructor(config: AIClientConfig); chat(messages: AIMessage[], options?: AIChatOptions): Promise; generateJSON(prompt: string | AIMessage[], options?: AIJSONOptions): Promise; vision(image: Buffer | Uint8Array | { url: string; }, prompt: string, options?: AIVisionOptions): Promise; private buildModel; chatWithTools(messages: AIMessage[], tools: AITool[], options?: AIToolChatOptions): Promise; /** A picture from words (ADR-0226 decision 8) - an image model's generateContent answers with inline image data. */ generateImage(prompt: string, options?: AIImageOptions): Promise; /** * The SDK has no model list, so this reads the REST one. A conversation model is one that answers * generateContent; embedding and other models are left out. */ listModels(): Promise; private get requestOptions(); } /** A model list the provider refused, with the HTTP status the caller turns into a reason. */ export declare class ProviderListError extends Error { readonly status: number; constructor(status: number, body: string); }