import * as z from "zod"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { ImageURL, ImageURL$Outbound } from "./imageurl.js"; export type ImageURLChunkImageURL = ImageURL | string; export declare const ImageURLChunkType: { readonly ImageUrl: "image_url"; }; export type ImageURLChunkType = ClosedEnum; /** * {"type":"image_url","image_url":{"url":"data:image/png;base64,iVBORw0 */ export type ImageURLChunk = { imageUrl: ImageURL | string; type?: ImageURLChunkType | undefined; }; /** @internal */ export declare const ImageURLChunkImageURL$inboundSchema: z.ZodType; /** @internal */ export type ImageURLChunkImageURL$Outbound = ImageURL$Outbound | string; /** @internal */ export declare const ImageURLChunkImageURL$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 ImageURLChunkImageURL$ { /** @deprecated use `ImageURLChunkImageURL$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ImageURLChunkImageURL$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ImageURLChunkImageURL$Outbound` instead. */ type Outbound = ImageURLChunkImageURL$Outbound; } export declare function imageURLChunkImageURLToJSON(imageURLChunkImageURL: ImageURLChunkImageURL): string; export declare function imageURLChunkImageURLFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ImageURLChunkType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ImageURLChunkType$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace ImageURLChunkType$ { /** @deprecated use `ImageURLChunkType$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly ImageUrl: "image_url"; }>; /** @deprecated use `ImageURLChunkType$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly ImageUrl: "image_url"; }>; } /** @internal */ export declare const ImageURLChunk$inboundSchema: z.ZodType; /** @internal */ export type ImageURLChunk$Outbound = { image_url: ImageURL$Outbound | string; type: string; }; /** @internal */ export declare const ImageURLChunk$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 ImageURLChunk$ { /** @deprecated use `ImageURLChunk$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ImageURLChunk$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ImageURLChunk$Outbound` instead. */ type Outbound = ImageURLChunk$Outbound; } export declare function imageURLChunkToJSON(imageURLChunk: ImageURLChunk): string; export declare function imageURLChunkFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=imageurlchunk.d.ts.map