import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { ResponseCodeInterpreterCallCodeDeltaStreamEvent } from "./responsecodeinterpretercallcodedeltastreamevent.js";
import { ResponseCodeInterpreterCallCodeDoneStreamEvent } from "./responsecodeinterpretercallcodedonestreamevent.js";
import { ResponseCodeInterpreterCallCompletedStreamEvent } from "./responsecodeinterpretercallcompletedstreamevent.js";
import { ResponseCodeInterpreterCallInProgressStreamEvent } from "./responsecodeinterpretercallinprogressstreamevent.js";
import { ResponseCodeInterpreterCallInterpretingStreamEvent } from "./responsecodeinterpretercallinterpretingstreamevent.js";
import { ResponseCompletedStreamEvent } from "./responsecompletedstreamevent.js";
import { ResponseContentPartAddedStreamEvent } from "./responsecontentpartaddedstreamevent.js";
import { ResponseContentPartDoneStreamEvent } from "./responsecontentpartdonestreamevent.js";
import { ResponseCreatedStreamEvent } from "./responsecreatedstreamevent.js";
import { ResponseErrorStreamEvent } from "./responseerrorstreamevent.js";
import { ResponseFailedStreamEvent } from "./responsefailedstreamevent.js";
import { ResponseFileSearchCallCompletedStreamEvent } from "./responsefilesearchcallcompletedstreamevent.js";
import { ResponseFileSearchCallInProgressStreamEvent } from "./responsefilesearchcallinprogressstreamevent.js";
import { ResponseFileSearchCallSearchingStreamEvent } from "./responsefilesearchcallsearchingstreamevent.js";
import { ResponseFunctionCallArgumentsDeltaStreamEvent } from "./responsefunctioncallargumentsdeltastreamevent.js";
import { ResponseFunctionCallArgumentsDoneStreamEvent } from "./responsefunctioncallargumentsdonestreamevent.js";
import { ResponseImageGenerationCallCompletedStreamEvent } from "./responseimagegenerationcallcompletedstreamevent.js";
import { ResponseImageGenerationCallGeneratingStreamEvent } from "./responseimagegenerationcallgeneratingstreamevent.js";
import { ResponseImageGenerationCallInProgressStreamEvent } from "./responseimagegenerationcallinprogressstreamevent.js";
import { ResponseImageGenerationCallPartialImageStreamEvent } from "./responseimagegenerationcallpartialimagestreamevent.js";
import { ResponseIncompleteStreamEvent } from "./responseincompletestreamevent.js";
import { ResponseInProgressStreamEvent } from "./responseinprogressstreamevent.js";
import { ResponseMCPCallArgumentsDeltaStreamEvent } from "./responsemcpcallargumentsdeltastreamevent.js";
import { ResponseMCPCallArgumentsDoneStreamEvent } from "./responsemcpcallargumentsdonestreamevent.js";
import { ResponseMCPCallCompletedStreamEvent } from "./responsemcpcallcompletedstreamevent.js";
import { ResponseMCPCallFailedStreamEvent } from "./responsemcpcallfailedstreamevent.js";
import { ResponseMCPCallInProgressStreamEvent } from "./responsemcpcallinprogressstreamevent.js";
import { ResponseOutputItemAddedStreamEvent } from "./responseoutputitemaddedstreamevent.js";
import { ResponseOutputItemDoneStreamEvent } from "./responseoutputitemdonestreamevent.js";
import { ResponseOutputTextAnnotationAddedStreamEvent } from "./responseoutputtextannotationaddedstreamevent.js";
import { ResponseOutputTextDeltaStreamEvent } from "./responseoutputtextdeltastreamevent.js";
import { ResponseOutputTextDoneStreamEvent } from "./responseoutputtextdonestreamevent.js";
import { ResponseQueuedStreamEvent } from "./responsequeuedstreamevent.js";
import { ResponseReasoningDeltaStreamEvent } from "./responsereasoningdeltastreamevent.js";
import { ResponseReasoningDoneStreamEvent } from "./responsereasoningdonestreamevent.js";
import { ResponseReasoningSummaryPartAddedStreamEvent } from "./responsereasoningsummarypartaddedstreamevent.js";
import { ResponseReasoningSummaryPartDoneStreamEvent } from "./responsereasoningsummarypartdonestreamevent.js";
import { ResponseReasoningSummaryTextDeltaStreamEvent } from "./responsereasoningsummarytextdeltastreamevent.js";
import { ResponseReasoningSummaryTextDoneStreamEvent } from "./responsereasoningsummarytextdonestreamevent.js";
import { ResponseReasoningTextDeltaStreamEvent } from "./responsereasoningtextdeltastreamevent.js";
import { ResponseReasoningTextDoneStreamEvent } from "./responsereasoningtextdonestreamevent.js";
import { ResponseRefusalDeltaStreamEvent } from "./responserefusaldeltastreamevent.js";
import { ResponseRefusalDoneStreamEvent } from "./responserefusaldonestreamevent.js";
import { ResponseWebSearchCallCompletedStreamEvent } from "./responsewebsearchcallcompletedstreamevent.js";
import { ResponseWebSearchCallInProgressStreamEvent } from "./responsewebsearchcallinprogressstreamevent.js";
import { ResponseWebSearchCallSearchingStreamEvent } from "./responsewebsearchcallsearchingstreamevent.js";
/**
 * A single server-sent event emitted on the response stream. The `type` field discriminates the payload.
 */
export type ResponseStreamEvent = ResponseErrorStreamEvent | ResponseCodeInterpreterCallCompletedStreamEvent | ResponseCodeInterpreterCallInProgressStreamEvent | ResponseCodeInterpreterCallInterpretingStreamEvent | ResponseCodeInterpreterCallCodeDeltaStreamEvent | ResponseCodeInterpreterCallCodeDoneStreamEvent | ResponseCompletedStreamEvent | ResponseContentPartAddedStreamEvent | ResponseContentPartDoneStreamEvent | ResponseCreatedStreamEvent | ResponseFailedStreamEvent | ResponseFileSearchCallCompletedStreamEvent | ResponseFileSearchCallInProgressStreamEvent | ResponseFileSearchCallSearchingStreamEvent | ResponseFunctionCallArgumentsDeltaStreamEvent | ResponseFunctionCallArgumentsDoneStreamEvent | ResponseImageGenerationCallCompletedStreamEvent | ResponseImageGenerationCallGeneratingStreamEvent | ResponseImageGenerationCallInProgressStreamEvent | ResponseImageGenerationCallPartialImageStreamEvent | ResponseInProgressStreamEvent | ResponseIncompleteStreamEvent | ResponseMCPCallCompletedStreamEvent | ResponseMCPCallFailedStreamEvent | ResponseMCPCallInProgressStreamEvent | ResponseMCPCallArgumentsDeltaStreamEvent | ResponseMCPCallArgumentsDoneStreamEvent | ResponseOutputItemAddedStreamEvent | ResponseOutputItemDoneStreamEvent | ResponseOutputTextAnnotationAddedStreamEvent | ResponseOutputTextDeltaStreamEvent | ResponseOutputTextDoneStreamEvent | ResponseQueuedStreamEvent | ResponseReasoningDeltaStreamEvent | ResponseReasoningDoneStreamEvent | ResponseReasoningSummaryPartAddedStreamEvent | ResponseReasoningSummaryPartDoneStreamEvent | ResponseReasoningSummaryTextDeltaStreamEvent | ResponseReasoningSummaryTextDoneStreamEvent | ResponseReasoningTextDeltaStreamEvent | ResponseReasoningTextDoneStreamEvent | ResponseRefusalDeltaStreamEvent | ResponseRefusalDoneStreamEvent | ResponseWebSearchCallCompletedStreamEvent | ResponseWebSearchCallInProgressStreamEvent | ResponseWebSearchCallSearchingStreamEvent;
/** @internal */
export declare const ResponseStreamEvent$inboundSchema: z.ZodType<ResponseStreamEvent, z.ZodTypeDef, unknown>;
export declare function responseStreamEventFromJSON(jsonString: string): SafeParseResult<ResponseStreamEvent, SDKValidationError>;
//# sourceMappingURL=responsestreamevent.d.ts.map