import type { InferenceResponse } from '@superbuilders/retrodiffusion'; interface GenerateTileOptions { apiKey?: string; seamless?: boolean; maxRetries?: number; retryDelayMs?: number; } interface RetroDiffusionRequest { prompt: string; width?: number; height?: number; num_images?: number; seed?: number; remove_bg?: boolean; } /** * Generates an image using the Retro Diffusion API via the @superbuilders/retrodiffusion package. * * @param payload - The request payload containing prompt, dimensions, etc. * @param options - Options including API key and seamless tiling settings. * @returns A Promise resolving to the API response with base64 images. * @throws If the API key is missing or the request fails. */ export declare function fetchRetroDiffusionImage(payload: RetroDiffusionRequest, options?: GenerateTileOptions): Promise; export {};