import * as z from "zod/v4"; import { OpenEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; /** * The generation phase this chunk belongs to. `content` is the renderable output; `reasoning` and `draft` are intermediate provider phases. */ export declare const ImageGenTextChunkEventPhase: { readonly Content: "content"; readonly Reasoning: "reasoning"; readonly Draft: "draft"; }; /** * The generation phase this chunk belongs to. `content` is the renderable output; `reasoning` and `draft` are intermediate provider phases. */ export type ImageGenTextChunkEventPhase = OpenEnum; /** * Emitted when a text chunk becomes available during streaming generation of text-based formats (e.g. SVG) */ export type ImageGenTextChunkEvent = { /** * The generation phase this chunk belongs to. `content` is the renderable output; `reasoning` and `draft` are intermediate provider phases. */ phase: ImageGenTextChunkEventPhase; /** * A text fragment of the image being generated (e.g. partial SVG markup) */ text: string; /** * The event type */ type: "image_generation.text_chunk"; }; /** @internal */ export declare const ImageGenTextChunkEventPhase$inboundSchema: z.ZodType; /** @internal */ export declare const ImageGenTextChunkEvent$inboundSchema: z.ZodType; export declare function imageGenTextChunkEventFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=imagegentextchunkevent.d.ts.map