import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { ErrorEvent, ErrorEvent$Outbound } from "./errorevent.js"; import { ResponseCancelledEvent, ResponseCancelledEvent$Outbound } from "./responsecancelledevent.js"; import { ResponseCodeInterpreterCallCodeDeltaEvent, ResponseCodeInterpreterCallCodeDeltaEvent$Outbound } from "./responsecodeinterpretercallcodedeltaevent.js"; import { ResponseCodeInterpreterCallCodeDoneEvent, ResponseCodeInterpreterCallCodeDoneEvent$Outbound } from "./responsecodeinterpretercallcodedoneevent.js"; import { ResponseCodeInterpreterCallCompletedEvent, ResponseCodeInterpreterCallCompletedEvent$Outbound } from "./responsecodeinterpretercallcompletedevent.js"; import { ResponseCodeInterpreterCallInProgressEvent, ResponseCodeInterpreterCallInProgressEvent$Outbound } from "./responsecodeinterpretercallinprogressevent.js"; import { ResponseCodeInterpreterCallInterpretingEvent, ResponseCodeInterpreterCallInterpretingEvent$Outbound } from "./responsecodeinterpretercallinterpretingevent.js"; import { ResponseCompletedEvent, ResponseCompletedEvent$Outbound } from "./responsecompletedevent.js"; import { ResponseContentPartAddedEvent, ResponseContentPartAddedEvent$Outbound } from "./responsecontentpartaddedevent.js"; import { ResponseContentPartDoneEvent, ResponseContentPartDoneEvent$Outbound } from "./responsecontentpartdoneevent.js"; import { ResponseCreatedEvent, ResponseCreatedEvent$Outbound } from "./responsecreatedevent.js"; import { ResponseCustomToolCallInputDeltaEvent, ResponseCustomToolCallInputDeltaEvent$Outbound } from "./responsecustomtoolcallinputdeltaevent.js"; import { ResponseCustomToolCallInputDoneEvent, ResponseCustomToolCallInputDoneEvent$Outbound } from "./responsecustomtoolcallinputdoneevent.js"; import { ResponseFailedEvent, ResponseFailedEvent$Outbound } from "./responsefailedevent.js"; import { ResponseFileSearchCallCompletedEvent, ResponseFileSearchCallCompletedEvent$Outbound } from "./responsefilesearchcallcompletedevent.js"; import { ResponseFileSearchCallInProgressEvent, ResponseFileSearchCallInProgressEvent$Outbound } from "./responsefilesearchcallinprogressevent.js"; import { ResponseFileSearchCallSearchingEvent, ResponseFileSearchCallSearchingEvent$Outbound } from "./responsefilesearchcallsearchingevent.js"; import { ResponseFunctionCallArgumentsDeltaEvent, ResponseFunctionCallArgumentsDeltaEvent$Outbound } from "./responsefunctioncallargumentsdeltaevent.js"; import { ResponseFunctionCallArgumentsDoneEvent, ResponseFunctionCallArgumentsDoneEvent$Outbound } from "./responsefunctioncallargumentsdoneevent.js"; import { ResponseHistoryCallCompletedEvent, ResponseHistoryCallCompletedEvent$Outbound } from "./responsehistorycallcompletedevent.js"; import { ResponseHistoryCallInProgressEvent, ResponseHistoryCallInProgressEvent$Outbound } from "./responsehistorycallinprogressevent.js"; import { ResponseHistoryCallSearchingEvent, ResponseHistoryCallSearchingEvent$Outbound } from "./responsehistorycallsearchingevent.js"; import { ResponseImageGenerationCallCompletedEvent, ResponseImageGenerationCallCompletedEvent$Outbound } from "./responseimagegenerationcallcompletedevent.js"; import { ResponseImageGenerationCallGeneratingEvent, ResponseImageGenerationCallGeneratingEvent$Outbound } from "./responseimagegenerationcallgeneratingevent.js"; import { ResponseImageGenerationCallInProgressEvent, ResponseImageGenerationCallInProgressEvent$Outbound } from "./responseimagegenerationcallinprogressevent.js"; import { ResponseImageGenerationCallPartialImageEvent, ResponseImageGenerationCallPartialImageEvent$Outbound } from "./responseimagegenerationcallpartialimageevent.js"; import { ResponseIncompleteEvent, ResponseIncompleteEvent$Outbound } from "./responseincompleteevent.js"; import { ResponseInProgressEvent, ResponseInProgressEvent$Outbound } from "./responseinprogressevent.js"; import { ResponseMCPCallArgumentsDeltaEvent, ResponseMCPCallArgumentsDeltaEvent$Outbound } from "./responsemcpcallargumentsdeltaevent.js"; import { ResponseMCPCallArgumentsDoneEvent, ResponseMCPCallArgumentsDoneEvent$Outbound } from "./responsemcpcallargumentsdoneevent.js"; import { ResponseMCPCallCompletedEvent, ResponseMCPCallCompletedEvent$Outbound } from "./responsemcpcallcompletedevent.js"; import { ResponseMCPCallFailedEvent, ResponseMCPCallFailedEvent$Outbound } from "./responsemcpcallfailedevent.js"; import { ResponseMCPCallInProgressEvent, ResponseMCPCallInProgressEvent$Outbound } from "./responsemcpcallinprogressevent.js"; import { ResponseMCPListToolsCompletedEvent, ResponseMCPListToolsCompletedEvent$Outbound } from "./responsemcplisttoolscompletedevent.js"; import { ResponseMCPListToolsFailedEvent, ResponseMCPListToolsFailedEvent$Outbound } from "./responsemcplisttoolsfailedevent.js"; import { ResponseMCPListToolsInProgressEvent, ResponseMCPListToolsInProgressEvent$Outbound } from "./responsemcplisttoolsinprogressevent.js"; import { ResponseOutputItemAddedEvent, ResponseOutputItemAddedEvent$Outbound } from "./responseoutputitemaddedevent.js"; import { ResponseOutputItemDoneEvent, ResponseOutputItemDoneEvent$Outbound } from "./responseoutputitemdoneevent.js"; import { ResponseOutputTextAnnotationAddedEvent, ResponseOutputTextAnnotationAddedEvent$Outbound } from "./responseoutputtextannotationaddedevent.js"; import { ResponseOutputTextDeltaEvent, ResponseOutputTextDeltaEvent$Outbound } from "./responseoutputtextdeltaevent.js"; import { ResponseOutputTextDoneEvent, ResponseOutputTextDoneEvent$Outbound } from "./responseoutputtextdoneevent.js"; import { ResponseQueuedEvent, ResponseQueuedEvent$Outbound } from "./responsequeuedevent.js"; import { ResponseReadFileCallCompletedEvent, ResponseReadFileCallCompletedEvent$Outbound } from "./responsereadfilecallcompletedevent.js"; import { ResponseReadFileCallInProgressEvent, ResponseReadFileCallInProgressEvent$Outbound } from "./responsereadfilecallinprogressevent.js"; import { ResponseReadFileCallReadingEvent, ResponseReadFileCallReadingEvent$Outbound } from "./responsereadfilecallreadingevent.js"; import { ResponseReasoningSummaryPartAddedEvent, ResponseReasoningSummaryPartAddedEvent$Outbound } from "./responsereasoningsummarypartaddedevent.js"; import { ResponseReasoningSummaryPartDoneEvent, ResponseReasoningSummaryPartDoneEvent$Outbound } from "./responsereasoningsummarypartdoneevent.js"; import { ResponseReasoningSummaryTextDeltaEvent, ResponseReasoningSummaryTextDeltaEvent$Outbound } from "./responsereasoningsummarytextdeltaevent.js"; import { ResponseReasoningSummaryTextDoneEvent, ResponseReasoningSummaryTextDoneEvent$Outbound } from "./responsereasoningsummarytextdoneevent.js"; import { ResponseReasoningTextDeltaEvent, ResponseReasoningTextDeltaEvent$Outbound } from "./responsereasoningtextdeltaevent.js"; import { ResponseReasoningTextDoneEvent, ResponseReasoningTextDoneEvent$Outbound } from "./responsereasoningtextdoneevent.js"; import { ResponseRefusalDeltaEvent, ResponseRefusalDeltaEvent$Outbound } from "./responserefusaldeltaevent.js"; import { ResponseRefusalDoneEvent, ResponseRefusalDoneEvent$Outbound } from "./responserefusaldoneevent.js"; import { ResponseShellCallCompletedEvent, ResponseShellCallCompletedEvent$Outbound } from "./responseshellcallcompletedevent.js"; import { ResponseShellCallExecutingEvent, ResponseShellCallExecutingEvent$Outbound } from "./responseshellcallexecutingevent.js"; import { ResponseShellCallInProgressEvent, ResponseShellCallInProgressEvent$Outbound } from "./responseshellcallinprogressevent.js"; import { ResponseSleepCallCompletedEvent, ResponseSleepCallCompletedEvent$Outbound } from "./responsesleepcallcompletedevent.js"; import { ResponseSleepCallInProgressEvent, ResponseSleepCallInProgressEvent$Outbound } from "./responsesleepcallinprogressevent.js"; import { ResponseSleepCallSleepingEvent, ResponseSleepCallSleepingEvent$Outbound } from "./responsesleepcallsleepingevent.js"; import { ResponseToolSearchCallCompletedEvent, ResponseToolSearchCallCompletedEvent$Outbound } from "./responsetoolsearchcallcompletedevent.js"; import { ResponseToolSearchCallInProgressEvent, ResponseToolSearchCallInProgressEvent$Outbound } from "./responsetoolsearchcallinprogressevent.js"; import { ResponseToolSearchCallSearchingEvent, ResponseToolSearchCallSearchingEvent$Outbound } from "./responsetoolsearchcallsearchingevent.js"; import { ResponseWebSearchCallCompletedEvent, ResponseWebSearchCallCompletedEvent$Outbound } from "./responsewebsearchcallcompletedevent.js"; import { ResponseWebSearchCallInProgressEvent, ResponseWebSearchCallInProgressEvent$Outbound } from "./responsewebsearchcallinprogressevent.js"; import { ResponseWebSearchCallSearchingEvent, ResponseWebSearchCallSearchingEvent$Outbound } from "./responsewebsearchcallsearchingevent.js"; export type ResponseStreamingEvent = ResponseCreatedEvent | ResponseInProgressEvent | ResponseCompletedEvent | ResponseFailedEvent | ResponseIncompleteEvent | ResponseQueuedEvent | ResponseCancelledEvent | ResponseOutputItemAddedEvent | ResponseOutputItemDoneEvent | ResponseContentPartAddedEvent | ResponseContentPartDoneEvent | ResponseOutputTextDeltaEvent | ResponseOutputTextDoneEvent | ResponseRefusalDeltaEvent | ResponseRefusalDoneEvent | ResponseFunctionCallArgumentsDeltaEvent | ResponseFunctionCallArgumentsDoneEvent | ResponseFileSearchCallInProgressEvent | ResponseFileSearchCallSearchingEvent | ResponseFileSearchCallCompletedEvent | ResponseWebSearchCallInProgressEvent | ResponseWebSearchCallSearchingEvent | ResponseWebSearchCallCompletedEvent | ResponseHistoryCallInProgressEvent | ResponseHistoryCallSearchingEvent | ResponseHistoryCallCompletedEvent | ResponseSleepCallInProgressEvent | ResponseSleepCallSleepingEvent | ResponseSleepCallCompletedEvent | ResponseToolSearchCallInProgressEvent | ResponseToolSearchCallSearchingEvent | ResponseToolSearchCallCompletedEvent | ResponseReasoningSummaryPartAddedEvent | ResponseReasoningSummaryPartDoneEvent | ResponseReasoningSummaryTextDeltaEvent | ResponseReasoningSummaryTextDoneEvent | ResponseReasoningTextDeltaEvent | ResponseReasoningTextDoneEvent | ResponseImageGenerationCallInProgressEvent | ResponseImageGenerationCallGeneratingEvent | ResponseImageGenerationCallCompletedEvent | ResponseImageGenerationCallPartialImageEvent | ResponseMCPCallArgumentsDeltaEvent | ResponseMCPCallArgumentsDoneEvent | ResponseMCPCallInProgressEvent | ResponseMCPCallCompletedEvent | ResponseMCPCallFailedEvent | ResponseMCPListToolsInProgressEvent | ResponseMCPListToolsCompletedEvent | ResponseMCPListToolsFailedEvent | ResponseReadFileCallInProgressEvent | ResponseReadFileCallReadingEvent | ResponseReadFileCallCompletedEvent | ResponseCodeInterpreterCallInProgressEvent | ResponseCodeInterpreterCallInterpretingEvent | ResponseCodeInterpreterCallCompletedEvent | ResponseCodeInterpreterCallCodeDeltaEvent | ResponseCodeInterpreterCallCodeDoneEvent | ResponseShellCallInProgressEvent | ResponseShellCallExecutingEvent | ResponseShellCallCompletedEvent | ResponseCustomToolCallInputDeltaEvent | ResponseCustomToolCallInputDoneEvent | ResponseOutputTextAnnotationAddedEvent | ErrorEvent; /** @internal */ export declare const ResponseStreamingEvent$inboundSchema: z.ZodType; /** @internal */ export type ResponseStreamingEvent$Outbound = ResponseCreatedEvent$Outbound | ResponseInProgressEvent$Outbound | ResponseCompletedEvent$Outbound | ResponseFailedEvent$Outbound | ResponseIncompleteEvent$Outbound | ResponseQueuedEvent$Outbound | ResponseCancelledEvent$Outbound | ResponseOutputItemAddedEvent$Outbound | ResponseOutputItemDoneEvent$Outbound | ResponseContentPartAddedEvent$Outbound | ResponseContentPartDoneEvent$Outbound | ResponseOutputTextDeltaEvent$Outbound | ResponseOutputTextDoneEvent$Outbound | ResponseRefusalDeltaEvent$Outbound | ResponseRefusalDoneEvent$Outbound | ResponseFunctionCallArgumentsDeltaEvent$Outbound | ResponseFunctionCallArgumentsDoneEvent$Outbound | ResponseFileSearchCallInProgressEvent$Outbound | ResponseFileSearchCallSearchingEvent$Outbound | ResponseFileSearchCallCompletedEvent$Outbound | ResponseWebSearchCallInProgressEvent$Outbound | ResponseWebSearchCallSearchingEvent$Outbound | ResponseWebSearchCallCompletedEvent$Outbound | ResponseHistoryCallInProgressEvent$Outbound | ResponseHistoryCallSearchingEvent$Outbound | ResponseHistoryCallCompletedEvent$Outbound | ResponseSleepCallInProgressEvent$Outbound | ResponseSleepCallSleepingEvent$Outbound | ResponseSleepCallCompletedEvent$Outbound | ResponseToolSearchCallInProgressEvent$Outbound | ResponseToolSearchCallSearchingEvent$Outbound | ResponseToolSearchCallCompletedEvent$Outbound | ResponseReasoningSummaryPartAddedEvent$Outbound | ResponseReasoningSummaryPartDoneEvent$Outbound | ResponseReasoningSummaryTextDeltaEvent$Outbound | ResponseReasoningSummaryTextDoneEvent$Outbound | ResponseReasoningTextDeltaEvent$Outbound | ResponseReasoningTextDoneEvent$Outbound | ResponseImageGenerationCallInProgressEvent$Outbound | ResponseImageGenerationCallGeneratingEvent$Outbound | ResponseImageGenerationCallCompletedEvent$Outbound | ResponseImageGenerationCallPartialImageEvent$Outbound | ResponseMCPCallArgumentsDeltaEvent$Outbound | ResponseMCPCallArgumentsDoneEvent$Outbound | ResponseMCPCallInProgressEvent$Outbound | ResponseMCPCallCompletedEvent$Outbound | ResponseMCPCallFailedEvent$Outbound | ResponseMCPListToolsInProgressEvent$Outbound | ResponseMCPListToolsCompletedEvent$Outbound | ResponseMCPListToolsFailedEvent$Outbound | ResponseReadFileCallInProgressEvent$Outbound | ResponseReadFileCallReadingEvent$Outbound | ResponseReadFileCallCompletedEvent$Outbound | ResponseCodeInterpreterCallInProgressEvent$Outbound | ResponseCodeInterpreterCallInterpretingEvent$Outbound | ResponseCodeInterpreterCallCompletedEvent$Outbound | ResponseCodeInterpreterCallCodeDeltaEvent$Outbound | ResponseCodeInterpreterCallCodeDoneEvent$Outbound | ResponseShellCallInProgressEvent$Outbound | ResponseShellCallExecutingEvent$Outbound | ResponseShellCallCompletedEvent$Outbound | ResponseCustomToolCallInputDeltaEvent$Outbound | ResponseCustomToolCallInputDoneEvent$Outbound | ResponseOutputTextAnnotationAddedEvent$Outbound | ErrorEvent$Outbound; /** @internal */ export declare const ResponseStreamingEvent$outboundSchema: z.ZodType; export declare function responseStreamingEventToJSON(responseStreamingEvent: ResponseStreamingEvent): string; export declare function responseStreamingEventFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=responsestreamingevent.d.ts.map