import * as z from "zod/v4"; import * as discriminatedUnionTypes from "../types/discriminatedUnion.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; import { ImageGenCompletedEvent } from "./imagegencompletedevent.js"; import { ImageGenPartialImageEvent } from "./imagegenpartialimageevent.js"; import { ImageGenStreamErrorEvent } from "./imagegenstreamerrorevent.js"; import { ImageGenTextChunkEvent } from "./imagegentextchunkevent.js"; export type ImageStreamingResponseData = ImageGenPartialImageEvent | ImageGenTextChunkEvent | ImageGenCompletedEvent | ImageGenStreamErrorEvent | discriminatedUnionTypes.Unknown<"type">; export type ImageStreamingResponse = { data: ImageGenPartialImageEvent | ImageGenTextChunkEvent | ImageGenCompletedEvent | ImageGenStreamErrorEvent | discriminatedUnionTypes.Unknown<"type">; }; /** @internal */ export declare const ImageStreamingResponseData$inboundSchema: z.ZodType; export declare function imageStreamingResponseDataFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ImageStreamingResponse$inboundSchema: z.ZodType; export declare function imageStreamingResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=imagestreamingresponse.d.ts.map