import { BaseProvider } from './base-provider'; import type { Message, ProviderOptions, ProviderResponse, ProviderChunk, Model, ServiceName } from '../types'; /** * Google Gemini API provider implementation */ export declare class GoogleProvider extends BaseProvider { readonly name: ServiceName; readonly supportsThinking = false; readonly supportsTools = true; readonly supportsVision = true; readonly supportsDocuments = true; private readonly defaultBaseUrl; /** * Send a non-streaming request to Google Gemini */ sendRequest(messages: Message[], options: ProviderOptions): Promise; /** * Send a streaming request to Google Gemini */ sendStreamingRequest(messages: Message[], options: ProviderOptions): AsyncIterable; /** * Fetch available models from Google */ fetchModels(apiKey?: string): Promise; /** * Verify connection to Google */ verifyConnection(apiKey?: string): Promise; /** * Build the request body for Google Gemini API */ private buildRequestBody; /** * Format messages for Google Gemini API */ private formatMessagesForGemini; /** * Format content for Google Gemini API */ private formatContentForGemini; /** * Format tools for Google Gemini API */ private formatToolsForGemini; /** * Parse Google Gemini response */ protected parseResponse(response: unknown): ProviderResponse; /** * Make HTTP request to Google */ private makeRequest; /** * Handle error responses from Google */ private handleErrorResponse; /** * Get API key from environment */ private getApiKeyFromEnv; } //# sourceMappingURL=google.d.ts.map