/** * @license * Copyright 2026 Steven Roussey * SPDX-License-Identifier: Apache-2.0 */ import type { AiProviderRunFn, StructuredGenerationTaskInput, StructuredGenerationTaskOutput } from "@workglow/ai"; import type { DeepSeekModelConfig } from "./DeepSeek_ModelSchema"; /** * Streaming run-fn for `["text.generation", "json-mode"]`. Emits * `object-delta` events with progressively-completed partial JSON snapshots * on the `object` port, ending with a `finish` event carrying the parsed * final object. * * DeepSeek supports only `response_format: { type: "json_object" }` — passing * OpenAI's `json_schema` form returns `400 This response_format type is * unavailable now`. {@link jsonModeChatParts} puts the schema in the prompt * (and includes a lowercase "json", which DeepSeek requires). */ export declare const DeepSeek_StructuredGeneration_Stream: AiProviderRunFn;