import type * as plugins from './plugins.js'; /** * Where a Responses stream ends: `response.completed` or `response.incomplete` ends the answer, * `response.failed` and an `error` event end a failed one (AGL-1130). */ export declare const openAiResponsesTerminal: plugins.IModelStreamTerminal; /** * Where a Chat Completions stream ends: `[DONE]` ends the answer, and an error chunk, which a * server sends in place of the rest of a failed answer and without `[DONE]`, ends it too: a chunk * with an `error` object and no `choices`, as the AI SDK reads one (AGL-1130). */ export declare const openAiChatTerminal: plugins.IModelStreamTerminal;