import * as z from "zod"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; export type ImageUrl = { /** * The URL of the image. */ url?: string | undefined; /** * Additional details about the image. */ detail?: string | null | undefined; }; export type ChatMessageResponseContent = { /** * The type of content (e.g., "text", "image"). */ type?: string | undefined; /** * The text content of the message. */ text?: string | null | undefined; imageUrl?: ImageUrl | null | undefined; }; /** @internal */ export declare const ImageUrl$inboundSchema: z.ZodType; /** @internal */ export type ImageUrl$Outbound = { url?: string | undefined; detail?: string | null | undefined; }; /** @internal */ export declare const ImageUrl$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 ImageUrl$ { /** @deprecated use `ImageUrl$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ImageUrl$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ImageUrl$Outbound` instead. */ type Outbound = ImageUrl$Outbound; } export declare function imageUrlToJSON(imageUrl: ImageUrl): string; export declare function imageUrlFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ChatMessageResponseContent$inboundSchema: z.ZodType; /** @internal */ export type ChatMessageResponseContent$Outbound = { type?: string | undefined; text?: string | null | undefined; image_url?: ImageUrl$Outbound | null | undefined; }; /** @internal */ export declare const ChatMessageResponseContent$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 ChatMessageResponseContent$ { /** @deprecated use `ChatMessageResponseContent$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ChatMessageResponseContent$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ChatMessageResponseContent$Outbound` instead. */ type Outbound = ChatMessageResponseContent$Outbound; } export declare function chatMessageResponseContentToJSON(chatMessageResponseContent: ChatMessageResponseContent): string; export declare function chatMessageResponseContentFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=chatmessageresponsecontent.d.ts.map