/** * @license * Copyright 2025 Steven Roussey * SPDX-License-Identifier: Apache-2.0 */ import type { AiProviderRunFn, TextGenerationTaskInput, TextGenerationTaskOutput } from "@workglow/ai"; import type { OpenAiModelConfig } from "./OpenAI_ModelSchema"; /** * Streaming run-fn for the `["text.generation"]` capability. Used by both * {@link TextGenerationTask} (prompt-only input) and {@link AiChatTask} * (full conversation history). Emits `text-delta` events on the `text` port * and a final empty `finish` event per the streaming convention (consumer * accumulates). */ export declare const OpenAI_TextGeneration_Stream: AiProviderRunFn;