import * as z from "zod/v4"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; import { InternChatCompletionChunk } from "./internchatcompletionchunk.js"; /** * A server-sent event carrying one chunk. The stream ends with `data: [DONE]`. */ export type InternChatStreamingResponse = { /** * One `data:` line of the stream. A run streams a role chunk, content and reasoning chunks, then a finish chunk: `stop`, `tool_calls` (the run is paused for input) or `error` (with an `error` object). A final chunk with empty `choices` follows in every case, carrying `session_id` and `usage` (`null` unless the daemon reported usage, and always `null` after `tool_calls`). Every stream ends with `[DONE]`. */ data: InternChatCompletionChunk; }; /** @internal */ export declare const InternChatStreamingResponse$inboundSchema: z.ZodType; export declare function internChatStreamingResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=internchatstreamingresponse.d.ts.map