import type { Model } from "@oh-my-pi/pi-catalog/types"; import type { ImageGenerationOptions, ImageGenerationRequest, ImageGenerationResult } from "./types.js"; /** Reference images Factory's JSON edits contract accepts per request. */ export declare const FACTORY_DROID_MAX_EDIT_IMAGES = 16; /** Decoded bytes the CLI accepts per reference image. */ export declare const FACTORY_DROID_MAX_REFERENCE_BYTES: number; /** * Factory Droid `generate_image` transport, mirroring the CLI: GPT Image * models call the proxy's OpenAI Images routes, a prompt alone on * `/images/generations` and reference images inline on `/images/edits` * (Factory converts `input_images` to upstream multipart); Gemini image * models call the native Gemini route asking for TEXT and IMAGE output. Both * carry chat's client identity. The Droid identity rides the proxy-only * `instructions` field, or opens the Gemini system instruction ahead of the * CLI's generate or edit directive. * * A 200 without an image (a Gemini prompt block, an empty data array) throws * a response error, which ends the tool's chain like other malformed * responses; HTTP rejections throw provider HTTP errors, which advance it. */ export declare function generateFactoryDroidImage(model: Model<"factory-droid-agent">, request: ImageGenerationRequest, options: ImageGenerationOptions): Promise;