import * as z from "zod/v4";
import * as discriminatedUnionTypes from "../types/discriminatedUnion.js";
import { Result as SafeParseResult } from "../types/fp.js";
import { AnnotationAddedEvent } from "./annotationaddedevent.js";
import { ApplyPatchCallOperationDiffDeltaEvent } from "./applypatchcalloperationdiffdeltaevent.js";
import { ApplyPatchCallOperationDiffDoneEvent } from "./applypatchcalloperationdiffdoneevent.js";
import { CodeInterpreterCallCodeDeltaEvent } from "./codeinterpretercallcodedeltaevent.js";
import { CodeInterpreterCallCodeDoneEvent } from "./codeinterpretercallcodedoneevent.js";
import { CodeInterpreterCallCompletedEvent } from "./codeinterpretercallcompletedevent.js";
import { CodeInterpreterCallInProgressEvent } from "./codeinterpretercallinprogressevent.js";
import { CodeInterpreterCallInterpretingEvent } from "./codeinterpretercallinterpretingevent.js";
import { ContentPartAddedEvent } from "./contentpartaddedevent.js";
import { ContentPartDoneEvent } from "./contentpartdoneevent.js";
import { CustomToolCallInputDeltaEvent } from "./customtoolcallinputdeltaevent.js";
import { CustomToolCallInputDoneEvent } from "./customtoolcallinputdoneevent.js";
import { DebugEvent } from "./debugevent.js";
import { ErrorEvent } from "./errorevent.js";
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
import { FunctionCallArgsDeltaEvent } from "./functioncallargsdeltaevent.js";
import { FunctionCallArgsDoneEvent } from "./functioncallargsdoneevent.js";
import { FusionCallAnalysisCompletedEvent } from "./fusioncallanalysiscompletedevent.js";
import { FusionCallAnalysisInProgressEvent } from "./fusioncallanalysisinprogressevent.js";
import { FusionCallCompletedEvent } from "./fusioncallcompletedevent.js";
import { FusionCallInProgressEvent } from "./fusioncallinprogressevent.js";
import { FusionCallPanelAddedEvent } from "./fusioncallpaneladdedevent.js";
import { FusionCallPanelCompletedEvent } from "./fusioncallpanelcompletedevent.js";
import { FusionCallPanelDeltaEvent } from "./fusioncallpaneldeltaevent.js";
import { FusionCallPanelFailedEvent } from "./fusioncallpanelfailedevent.js";
import { FusionCallPanelReasoningDeltaEvent } from "./fusioncallpanelreasoningdeltaevent.js";
import { ImageGenCallCompletedEvent } from "./imagegencallcompletedevent.js";
import { ImageGenCallGeneratingEvent } from "./imagegencallgeneratingevent.js";
import { ImageGenCallInProgressEvent } from "./imagegencallinprogressevent.js";
import { ImageGenCallPartialImageEvent } from "./imagegencallpartialimageevent.js";
import { OpenResponsesCreatedEvent } from "./openresponsescreatedevent.js";
import { OpenResponsesInProgressEvent } from "./openresponsesinprogressevent.js";
import { ReasoningDeltaEvent } from "./reasoningdeltaevent.js";
import { ReasoningDoneEvent } from "./reasoningdoneevent.js";
import { ReasoningSummaryPartAddedEvent } from "./reasoningsummarypartaddedevent.js";
import { ReasoningSummaryPartDoneEvent } from "./reasoningsummarypartdoneevent.js";
import { ReasoningSummaryTextDeltaEvent } from "./reasoningsummarytextdeltaevent.js";
import { ReasoningSummaryTextDoneEvent } from "./reasoningsummarytextdoneevent.js";
import { RefusalDeltaEvent } from "./refusaldeltaevent.js";
import { RefusalDoneEvent } from "./refusaldoneevent.js";
import { StreamEventsResponseCompleted } from "./streameventsresponsecompleted.js";
import { StreamEventsResponseFailed } from "./streameventsresponsefailed.js";
import { StreamEventsResponseIncomplete } from "./streameventsresponseincomplete.js";
import { StreamEventsResponseOutputItemAdded } from "./streameventsresponseoutputitemadded.js";
import { StreamEventsResponseOutputItemDone } from "./streameventsresponseoutputitemdone.js";
import { TextDeltaEvent } from "./textdeltaevent.js";
import { TextDoneEvent } from "./textdoneevent.js";
import { WebSearchCallCompletedEvent } from "./websearchcallcompletedevent.js";
import { WebSearchCallInProgressEvent } from "./websearchcallinprogressevent.js";
import { WebSearchCallSearchingEvent } from "./websearchcallsearchingevent.js";
/**
 * Union of all possible event types emitted during response streaming
 */
export type StreamEvents = ErrorEvent | ApplyPatchCallOperationDiffDeltaEvent | ApplyPatchCallOperationDiffDoneEvent | CodeInterpreterCallCodeDeltaEvent | CodeInterpreterCallCodeDoneEvent | CodeInterpreterCallCompletedEvent | CodeInterpreterCallInProgressEvent | CodeInterpreterCallInterpretingEvent | StreamEventsResponseCompleted | ContentPartAddedEvent | ContentPartDoneEvent | OpenResponsesCreatedEvent | CustomToolCallInputDeltaEvent | CustomToolCallInputDoneEvent | DebugEvent | StreamEventsResponseFailed | FunctionCallArgsDeltaEvent | FunctionCallArgsDoneEvent | FusionCallAnalysisCompletedEvent | FusionCallAnalysisInProgressEvent | FusionCallCompletedEvent | FusionCallInProgressEvent | FusionCallPanelAddedEvent | FusionCallPanelCompletedEvent | FusionCallPanelDeltaEvent | FusionCallPanelFailedEvent | FusionCallPanelReasoningDeltaEvent | ImageGenCallCompletedEvent | ImageGenCallGeneratingEvent | ImageGenCallInProgressEvent | ImageGenCallPartialImageEvent | OpenResponsesInProgressEvent | StreamEventsResponseIncomplete | StreamEventsResponseOutputItemAdded | StreamEventsResponseOutputItemDone | AnnotationAddedEvent | TextDeltaEvent | TextDoneEvent | ReasoningSummaryPartAddedEvent | ReasoningSummaryPartDoneEvent | ReasoningSummaryTextDeltaEvent | ReasoningSummaryTextDoneEvent | ReasoningDeltaEvent | ReasoningDoneEvent | RefusalDeltaEvent | RefusalDoneEvent | WebSearchCallCompletedEvent | WebSearchCallInProgressEvent | WebSearchCallSearchingEvent | discriminatedUnionTypes.Unknown<"type">;
/** @internal */
export declare const StreamEvents$inboundSchema: z.ZodType<StreamEvents, unknown>;
export declare function streamEventsFromJSON(jsonString: string): SafeParseResult<StreamEvents, SDKValidationError>;
//# sourceMappingURL=streamevents.d.ts.map