import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { AudioChunk, AudioChunk$Outbound } from "./audiochunk.js"; import { DocumentURLChunk, DocumentURLChunk$Outbound } from "./documenturlchunk.js"; import { FileChunk, FileChunk$Outbound } from "./filechunk.js"; import { ImageURLChunk, ImageURLChunk$Outbound } from "./imageurlchunk.js"; import { ReferenceChunk, ReferenceChunk$Outbound } from "./referencechunk.js"; import { TextChunk, TextChunk$Outbound } from "./textchunk.js"; import { ThinkChunk, ThinkChunk$Outbound } from "./thinkchunk.js"; export type ContentChunk = (ImageURLChunk & { type: "image_url"; }) | (DocumentURLChunk & { type: "document_url"; }) | (TextChunk & { type: "text"; }) | (ReferenceChunk & { type: "reference"; }) | (FileChunk & { type: "file"; }) | (ThinkChunk & { type: "thinking"; }) | (AudioChunk & { type: "input_audio"; }); /** @internal */ export declare const ContentChunk$inboundSchema: z.ZodType; /** @internal */ export type ContentChunk$Outbound = (ImageURLChunk$Outbound & { type: "image_url"; }) | (DocumentURLChunk$Outbound & { type: "document_url"; }) | (TextChunk$Outbound & { type: "text"; }) | (ReferenceChunk$Outbound & { type: "reference"; }) | (FileChunk$Outbound & { type: "file"; }) | (ThinkChunk$Outbound & { type: "thinking"; }) | (AudioChunk$Outbound & { type: "input_audio"; }); /** @internal */ export declare const ContentChunk$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace ContentChunk$ { /** @deprecated use `ContentChunk$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ContentChunk$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ContentChunk$Outbound` instead. */ type Outbound = ContentChunk$Outbound; } export declare function contentChunkToJSON(contentChunk: ContentChunk): string; export declare function contentChunkFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=contentchunk.d.ts.map