import { type Api, type ImageGenerationApi, type Model } from "@oh-my-pi/pi-catalog/types"; import type { ImageGenerationOptions, ImageGenerationRequest, ImageGenerationResult } from "./types.js"; export * from "./factory-droid.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"; export type { ImageGenerationApi } from "@oh-my-pi/pi-catalog/types"; /** 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 provider's hook, else the transport selected by the model's `api`. */ export declare function generateImage(model: Model, request: ImageGenerationRequest, options: ImageGenerationOptions): Promise;