import { GoogleGenAI } from "@google/genai"; import { BaseImageGenerator, ImageGenerationParams, ImageGenerationResult, ImageEditParams, ImageVariationParams, ImageModelInfo } from "@memberjunction/ai"; /** * Google Gemini 3 Pro Image (Nano Banana Pro) implementation of the BaseImageGenerator class. * Supports Google's most advanced image generation model with 2K/4K resolution support. * * Model: gemini-3-pro-image-preview (November 2025) * - Native multimodal image generation * - High resolution output (up to 4K) * - Advanced style control and prompt understanding */ export declare class GeminiImageGenerator extends BaseImageGenerator { protected _gemini: GoogleGenAI | null; private _geminiPromise; constructor(apiKey: string); /** * Factory method to create the GoogleGenAI client instance. * Subclasses can override this to provide custom configuration. */ protected createClient(): Promise; /** * Ensure the Gemini client is initialized before use. */ private ensureGeminiClient; /** * Generate image(s) from a text prompt using Gemini 3 Pro Image (Nano Banana Pro). */ GenerateImage(params: ImageGenerationParams): Promise; /** * Edit an existing image using Gemini's multimodal capabilities. * Uses image-to-image generation with the original image as context. */ EditImage(params: ImageEditParams): Promise; /** * Create variations of an existing image. * Uses the original image as context with a variation prompt. */ CreateVariation(params: ImageVariationParams): Promise; /** * Get available Gemini image generation models. */ GetModels(): Promise; /** * Get supported methods for this provider. */ GetSupportedMethods(): Promise; /** * Build generation config for Gemini API. */ private buildGenerationConfig; /** * Extract image data from Gemini response. */ private extractImageFromResponse; /** * Convert MIME type to image format. */ private getMimeTypeFormat; /** * Handle errors and create error result. */ private handleError; } //# sourceMappingURL=geminiImage.d.ts.map