import type { Api, Model } from "@oh-my-pi/pi-catalog/types"; import type { ImageGenerationOptions, ImageGenerationRequest, ImageGenerationResult } from "./types.js"; export * from "./google-antigravity.js"; export * from "./google-generative-ai.js"; export * from "./openai-hosted.js"; export * from "./openai-images.js"; export * from "./openrouter-images.js"; export * from "./types.js"; /** Catalog APIs {@link generateImage} serves; the hosted Responses pair needs an explicit carrier model. */ export type ImageGenerationApi = "openai-images" | "openrouter-images" | "google-generative-ai" | "google-gemini-cli" | "openai-responses" | "openai-codex-responses"; /** Whether a catalog API generates images through one of the pi-ai image clients. */ export declare function isImageGenerationApi(api: Api): api is ImageGenerationApi; /** Generate (or edit, when `request.inputImages` is set) images through the transport selected by the model's `api`. */ export declare function generateImage(model: Model, request: ImageGenerationRequest, options: ImageGenerationOptions): Promise;