/** * @license * Copyright 2025 Steven Roussey * SPDX-License-Identifier: Apache-2.0 */ import type { AiProviderRunFn, ImageGenerateTaskInput, ImageGenerateTaskOutput } from "@workglow/ai"; import type { OpenAiModelConfig } from "./OpenAI_ModelSchema"; /** * Streaming run-fn for `["image.generation"]`. GPT-image models support * native streaming via `stream: true` + `partial_images: 3` and emit a * `snapshot` event per partial frame plus a final snapshot. DALL-E models * do not support streaming so this falls back to a single non-streaming * call and emits one snapshot before finish. */ export declare const OpenAI_ImageGenerate_Stream: AiProviderRunFn;